Results for: "tally"

No documentation available
No documentation available

UNTESTED

A node-set is converted to a string by returning the concatenation of the string-value of each of the children of the node in the node-set that is first in document order. If the node-set is empty, an empty string is returned.

Fixed by Mike Stok

UNTESTED

No documentation available
No documentation available

Called when the end tag is reached. In the case of <tag/>, tag_end will be called immediately after tag_start @p the name of the tag

No documentation available
No documentation available
No documentation available
No documentation available

This code is based directly on the Text gem implementation Returns a value representing the “cost” of transforming str1 into str2

Displays an error statement to the error output location. Asks a question if given.

Displays a warning statement to the warning output location. Asks a question if given.

Normalizes a request path. Raises an exception if the path cannot be normalized.

Normalizes a request path. Raises an exception if the path cannot be normalized.

Parses q values in value as used in Accept headers.

Parses q values in value as used in Accept headers.

Returns the concatenated string from strings.

Tags the current state of the dependency as the given tag @param [Object] tag an opaque tag for the current state of the graph @return [Void]

No documentation available

Returns the value of the given instance variable, or nil if the instance variable is not set. The @ part of the variable name should be included for regular instance variables. Throws a NameError exception if the supplied symbol is not valid as an instance variable name. String arguments are converted to symbols.

class Fred
  def initialize(p1, p2)
    @a, @b = p1, p2
  end
end
fred = Fred.new('cat', 99)
fred.instance_variable_get(:@a)    #=> "cat"
fred.instance_variable_get("@b")   #=> 99

Sets the instance variable named by symbol to the given object, thereby frustrating the efforts of the class’s author to attempt to provide proper encapsulation. The variable does not have to exist prior to this call. If the instance variable name is passed as a string, that string is converted to a symbol.

class Fred
  def initialize(p1, p2)
    @a, @b = p1, p2
  end
end
fred = Fred.new('cat', 99)
fred.instance_variable_set(:@a, 'dog')   #=> "dog"
fred.instance_variable_set(:@c, 'cat')   #=> "cat"
fred.inspect                             #=> "#<Fred:0x401b3da8 @a=\"dog\", @b=99, @c=\"cat\">"
Search took: 14ms  ·  Total Results: 1245