responseXML

responseXML() Instance Public methods DISPATCH responseXML Get response body

send

send(arg0=nil) Instance Public methods VOID send Send HTTP request VARIANT arg0 --- varBody [IN]

setRequestHeader

setRequestHeader(arg0, arg1) Instance Public methods VOID setRequestHeader Add HTTP request header BSTR arg0 --- bstrHeader [IN] BSTR arg1 --- bstrValue [IN]

status

status() Instance Public methods I4 status Get HTTP status code

statusText

statusText() Instance Public methods BSTR statusText Get HTTP status text

constants

Module.constants â arrayModule.constants(inherited) â array Class Public methods In the first form, returns an array of the names of all constants accessible from the point of call. This list includes the names of all modules and classes defined in the global scope. Module.constants.first(4) # => [:ARGF, :ARGV, :ArgumentError, :Array] Module.constants.include?(:SEEK_SET) # => false class IO Module.constants.include?(:SEEK_SET) # => true end The second form c

nesting

Module.nesting â array Class Public methods Returns the list of Modules nested at the point of call. module M1 module M2 $a = Module.nesting end end $a #=> [M1::M2, M1] $a[0].name #=> "M1::M2"

new

Module.new â modModule.new {|mod| block } â mod Class Public methods Creates a new anonymous module. If a block is given, it is passed the module object, and the block is evaluated in the context of this module using module_eval. fred = Module.new do def meth1 "hello" end def meth2 "bye" end end a = "my string" a.extend(fred) #=> "my string" a.meth1 #=> "hello" a.meth2 #=> "bye" Assign the module to a constant (name

<

mod Instance Public methods Returns true if mod is a subclass of other. Returns nil if there's no relationship between the two. (Think of the relationship in terms of the class definition: âclass A<Bâ implies âA<Bâ).

&lt;=

mod Instance Public methods Returns true if mod is a subclass of other or is the same as other. Returns nil if there's no relationship between the two. (Think of the relationship in terms of the class definition: âclass A<Bâ implies âA<Bâ).