to_name

to_name() Instance Public methods Turns this IPv4 address into a Resolv::DNS::Name.

childNodes

childNodes() Instance Public methods IXMLDOMNodeList childNodes the collection of the node's children

scanf

scanf(str) Instance Public methods Scans the current string until the match is exhausted, yielding each match as it is encountered in the string. A block is not necessary though, as the results will simply be aggregated into the final array. "123 456".block_scanf("%d") # => [123, 456] If a block is given, the value from that is returned from the yield is added to an output array. "123 456".block_scanf("%d) do |digit,| # the ',' unpacks the Array digit + 100 end # => [223,

[]

[](symbol) Instance Public methods

explode

explode(slice, *args) Instance Public methods

to_s

to_s() Instance Public methods

environment

environment(data=nil, options={}, &block) Instance Public methods Adds a line inside the Application class for config/application.rb. If options :env is specified, the line is appended to the corresponding file in config/environments. environment do "config.autoload_paths += %W(#{config.root}/extras)" end environment(nil, env: "development") do "config.autoload_paths += %W(#{config.root}/extras)" end application

getpriority

Process.getpriority(kind, integer) â fixnum Class Public methods Gets the scheduling priority for specified process, process group, or user. kind indicates the kind of entity to find: one of Process::PRIO_PGRP, Process::PRIO_USER, or Process::PRIO_PROCESS. integer is an id indicating the particular process, process group, or user (an id of 0 means current). Lower priorities are more favorable for scheduling. Not available on all platforms. Process.getpriority(Process::PRIO_USER,

determinant

determinant() Instance Public methods Returns the determinant of the matrix. Beware that using Float values can yield erroneous results because of their lack of precision. Consider using exact types like Rational or BigDecimal instead. Matrix[[7,6], [3,9]].determinant => 45 det

safeip_set_log_cmd

safeip_set_log_cmd(cmd = Proc.new) Instance Public methods