[]=

[]=(sql, key) Instance Public methods

parse_arguments

parse_arguments(arguments) Instance Protected methods

uncountable?

uncountable?(record_or_class) Class Public methods Identifies whether the class name of a record or class is uncountable. ActiveModel::Naming.uncountable?(Sheep) # => true ActiveModel::Naming.uncountable?(Post) # => false

post_via_redirect

post_via_redirect(path, parameters = nil, headers_or_env = nil) Instance Public methods Performs a POST request, following any subsequent redirect. See request_via_redirect for more information.

group=

key.group = group => group Instance Public methods Returns the same object passed, not the group object associated with the key. If you wish to access the group object tied to the key call key.group after setting the group. Setting the group will immediately destroy any previously assigned group object. The group is internally copied by OpenSSL. Modifying the original group after assignment will not effect the internal key structure. (your changes may be lost). BE CAREFUL.

not_set_name

not_set_name() Class Public methods

abs

abs() Instance Public methods Returns the absolute value. BigDecimal('5').abs -> 5 BigDecimal('-3').abs -> 3

read

IO.read(name, [length [, offset]] ) â stringIO.read(name, [length [, offset]], open_args) â string Class Public methods Opens the file, optionally seeks to the given offset, then returns length bytes (defaulting to the rest of the file). read ensures the file is closed before returning. If the last argument is a hash, it specifies option for internal open(). The key would be the following. open_args: is exclusive to others. encoding string or encoding specifies encoding

/ 2

cmp / numeric â complexcmp.quo(numeric) â complex Instance Public methods Performs division. Complex(2, 3) / Complex(2, 3) #=> ((1/1)+(0/1)*i) Complex(900) / Complex(1) #=> ((900/1)+(0/1)*i) Complex(-2, 9) / Complex(-9, 2) #=> ((36/85)-(77/85)*i) Complex(9, 8) / 4 #=> ((9/4)+(2/1)*i) Complex(20, 9) / 9.8 #=> (2.0408163265306123+0.9183673469387754i)

open

IO.open(fd, mode="r" [, opt]) â ioIO.open(fd, mode="r" [, opt]) { |io| block } â obj Class Public methods With no associated block, IO.open is a synonym for ::new. If the optional code block is given, it will be passed io as an argument, and the IO object will automatically be closed when the block terminates. In this instance, ::open returns the value of the block. See ::new for a description of the fd, mode and opt parameters.