new

new(namespace = nil) Class Public methods

do_aliases

do_aliases() Instance Public methods Scans content for rb_define_alias

to_xml

to_xml(options = {}) Instance Public methods Returns a string containing an XML representation of its receiver: { foo: 1, bar: 2 }.to_xml # => # <?xml version="1.0" encoding="UTF-8"?> # <hash> # <foo type="integer">1</foo> # <bar type="integer">2</bar> # </hash> To do so, the method loops over the pairs and builds nodes that depend on the values. Given a pair key, value: If value is a hash there's a recursive call with key as :root

demoBitmaps

demoBitmaps(t) Instance Public methods Demo: Bitmaps

keep_if

ary.keep_if { |item| block } â aryary.keep_if â Enumerator Instance Public methods Deletes every element of self for which the given block evaluates to false. See also #select! If no block is given, an Enumerator is returned instead. a = %w{ a b c d e f } a.keep_if { |v| v =~ /[aeiou]/ } #=> ["a", "e"]

async

async() Instance Public methods HRESULT async get asynchronous loading flag. BOOL arg0 --- pf [OUT]

summary

summary() Instance Public methods Returns a summary of the collected statistics.

label

label() Instance Public methods Returns the label of this instruction sequence. <main> if it's at the top level, <compiled> if it was evaluated from a string. For example, using irb: iseq = RubyVM::InstructionSequence.compile('num = 1 + 2') #=> <RubyVM::InstructionSequence:<compiled>@<compiled>> iseq.label #=> "<compiled>" Using ::compile_file: # /tmp/method.rb def hello puts "hello, world" end # in irb > iseq = RubyVM::InstructionSe

convert

convert(version) Class Public methods Converts version into an HTTPVersion

close

close() Instance Public methods Close key. After close, most method raise an error.