Results for: "OptionParser"

Allows OptionParser to handle HTTP URIs.

Asks for a password with a prompt

Asks the user to answer question with an answer from the given list.

Splits a header value str according to HTTP specification.

Splits a header value str according to HTTP specification.

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Pops the most recent action from the log and undoes the action @param [DependencyGraph] graph @return [Action] the action that was popped off the log

@return [Array<Vertex>] the vertices of {#graph} that have an edge with

`self` as their {Edge#destination}

@return [Array<Vertex>] the vertices of {#graph} that have an edge with

`self` as their {Edge#origin}

(see Gem::Resolver::Molinillo::ResolutionState#activated)

(see Gem::Resolver::Molinillo::ResolutionState#possibilities)

(see Gem::Resolver::Molinillo::ResolutionState#depth)

(see Gem::Resolver::Molinillo::ResolutionState#conflicts)

No documentation available

Returns value specified by the member name of VT_RECORD OLE object. If the member name is not correct, KeyError exception is raised. If you can’t access member variable of VT_RECORD OLE object directly, use this method.

If COM server in VB.NET ComServer project is the following:

Imports System.Runtime.InteropServices
Public Class ComClass
    Public Structure ComObject
        Public object_id As Ineger
    End Structure
End Class

and Ruby Object class has title attribute:

then accessing object_id of ComObject from Ruby is as the following:

srver = WIN32OLE.new('ComServer.ComClass')
obj = WIN32OLE_RECORD.new('ComObject', server)
# obj.object_id returns Ruby Object#object_id
obj.ole_instance_variable_get(:object_id) # => nil

Register an event handler p which is called everytime a line in file_name is executed.

Example:

Tracer.set_get_line_procs("example.rb", lambda { |line|
  puts "line number executed is #{line}"
})

Open the specified filename (either in read-only mode or in read-write mode) and lock it for reading or writing.

The opened File object will be returned. If read_only is true, and the file does not exist, then nil will be returned.

All exceptions are propagated.

Encode given str to URL-encoded form data.

This method doesn’t convert *, -, ., 0-9, A-Z, _, a-z, but does convert SP (ASCII space) to + and converts others to %XX.

If enc is given, convert str to the encoding before percent encoding.

This is an implementation of www.w3.org/TR/2013/CR-html5-20130806/forms.html#url-encoded-form-data

See URI.decode_www_form_component, URI.encode_www_form

Decode given str of URL-encoded form data.

This decodes + to SP.

See URI.encode_www_form_component, URI.decode_www_form

Returns the string that is used to insert a space before the ‘:’ in JSON objects.

Sets the string that is used to insert a space before the ‘:’ in JSON objects.

Search took: 7ms  ·  Total Results: 4252