_thread_tkwait

_thread_tkwait(p1, p2) Instance Public methods

xhtml

xhtml() Instance Public methods

route_url

route_url() Instance Protected methods

sum

sum(identity = 0, &block) Instance Public methods Calculates a sum from the elements. payments.sum { |p| p.price * p.tax_rate } payments.sum(&:price) The latter is a shortcut for: payments.inject(0) { |sum, p| sum + p.price } It can also calculate the sum without the use of a block. [5, 15, 10].sum # => 30 ['foo', 'bar'].sum # => "foobar" [[1, 2], [3, 1, 5]].sum => [1, 2, 3, 1, 5] The default sum of an empty list is zero. You can override this default: [].sum(Pay

set_variable

set_variable(var) Instance Public methods Also aliased as: variable=

new

OpenSSL::ASN1::Primitive.new( value [, tag, tagging, tag_class ]) => Primitive Class Public methods value: is mandatory. tag: optional, may be specified for tagged values. If no tag is specified, the UNIVERSAL tag corresponding to the Primitive sub-class is used by default. tagging: may be used as an encoding hint to encode a value either explicitly or implicitly, see ASN1 for possible values. tag_class: if tag and tagging are nil then this is set to :UNIVERSAL by default. If e

index

index() Instance Public methods

deleteData

deleteData(arg0, arg1) Instance Public methods VOID deleteData delete string within the value I4 arg0 --- offset [IN] I4 arg1 --- count [IN]

prepend

str.prepend(other_str) â str Instance Public methods PrependâPrepend the given string to str. a = "world" a.prepend("hello ") #=> "hello world" a #=> "hello world"

nodeType

nodeType() Instance Public methods DOMNodeType nodeType the node's type