previousSibling

previousSibling() Instance Public methods IXMLDOMNode previousSibling left sibling of the node

table_rows

table_rows() Instance Public methods Returns a hash of rows to be inserted. The key is the table, the value is a list of rows to insert to that table.

new

new(*requirements) Class Public methods Constructs a requirement from requirements. Requirements can be Strings, Gem::Versions, or Arrays of those. nil and duplicate requirements are ignored. An empty set of requirements is the same as ">= 0".

screenmmwidth

screenmmwidth(win) Class Public methods

in_groups_of

in_groups_of(number, fill_with = nil) Instance Public methods Splits or iterates over the array in groups of size number, padding any remaining slots with fill_with unless it is false. %w(1 2 3 4 5 6 7 8 9 10).in_groups_of(3) {|group| p group} ["1", "2", "3"] ["4", "5", "6"] ["7", "8", "9"] ["10", nil, nil] %w(1 2 3 4 5).in_groups_of(2, ' ') {|group| p group} ["1", "2"] ["3", "4"] ["5", " "] %w(1 2 3 4 5).in_groups_of(2, false) {|group| p group} ["1", "2"] ["3",

instance

instance(data = $stdout, options = Hash.new) Class Public methods This method will return a CSV instance, just like ::new, but the instance will be cached and returned for all future calls to this method for the same data object (tested by Object#object_id) with the same options. If a block is given, the instance is passed to the block and the return value becomes the return value of the block.

current_path 2

current_path() Instance Public methods

ip?

addrinfo.ip? => true or false Instance Public methods returns true if addrinfo is internet (IPv4/IPv6) address. returns false otherwise. Addrinfo.tcp("127.0.0.1", 80).ip? #=> true Addrinfo.tcp("::1", 80).ip? #=> true Addrinfo.unix("/tmp/sock").ip? #=> false

detach

detach(*items) Instance Public methods

set_migration_assigns!

set_migration_assigns!(destination) Instance Public methods