[]

[](key) Instance Public methods A convenience method to access the values like a Hash

run

thr.run â thr Instance Public methods Wakes up thr, making it eligible for scheduling. a = Thread.new { puts "a"; Thread.stop; puts "c" } sleep 0.1 while a.status!='sleep' puts "Got here" a.run a.join produces: a Got here c

binwrite

IO.binwrite(name, string, [offset] ) => fixnumIO.binwrite(name, string, [offset], open_args ) => fixnum Class Public methods Same as IO.write except opening the file in binary mode and ASCII-8BIT encoding (âwb:ASCII-8BITâ).

lastChild

lastChild() Instance Public methods IXMLDOMNode lastChild first child of the node

getnames

getnames(address) Instance Public methods Gets all hostnames for address from the DNS resolver. address must be a Resolv::IPv4, Resolv::IPv6 or a String. Retrieved names will be Resolv::DNS::Name instances.

select

select(method, choices = nil, options = {}, html_options = {}, &block) Instance Public methods Wraps ActionView::Helpers::FormOptionsHelper#select for form builders: <%= form_for @post do |f| %> <%= f.select :person_id, Person.all.collect { |p| [ p.name, p.id ] }, include_blank: true %> <%= f.submit %> <% end %> Please refer to the documentation of the base helper for details.

package_version

package_version() Class Public methods

yield

Fiber.yield(args, ...) â obj Class Public methods Yields control back to the context that resumed the fiber, passing along any arguments that were passed to it. The fiber will resume processing at this point when resume is called next. Any arguments passed to the next resume will be the value that this Fiber.yield expression evaluates to.

load_tk 2

load_tk(dir) Instance Public methods

empty?

empty?() Instance Public methods Returns true if the queue is empty.