errors

errors(cmd=Proc.new) Class Public methods

ref

ref() Instance Public methods

include_with_range?

include_with_range?(value) Instance Public methods Extends the default Range#include? to support range comparisons. (1..5).include?(1..5) # => true (1..5).include?(2..3) # => true (1..5).include?(2..6) # => false The native Range#include? behavior is untouched. ('a'..'f').include?('c') # => true (5..9).include?(11) # => false

each_strongly_connected_component_from

each_strongly_connected_component_from(node, id_map={}, stack=[]) Instance Public methods Iterates over strongly connected component in the subgraph reachable from node. Return value is unspecified. each_strongly_connected_component_from doesn't call tsort_each_node.

bind_append

bind_append(context, *args) Instance Public methods def #bind_append(*args) unless @widget begin @widget = window(tk_call(@master, 'component', @component)) @path = @widget.path rescue fail RuntimeError, 'component is not assigned to a widget' end end @widget.bind_append(*args) end

index

index() Instance Public methods

shift

ary.shift â obj or nilary.shift(n) â new_ary Instance Public methods Removes the first element of self and returns it (shifting all other elements down by one). Returns nil if the array is empty. If a number n is given, returns an array of the first n elements (or less) just like array.slice!(0, n) does. With ary containing only the remainder elements, not including what was shifted to new_ary. See also #unshift for the opposite effect. args = [ "-m", "-q", "filename" ] args.sh

create

create() Instance Public methods

index

index(idx) Instance Public methods

instance_values

instance_values() Instance Public methods Returns a hash with string keys that maps instance variable names without â@â to their corresponding values. class C def initialize(x, y) @x, @y = x, y end end C.new(0, 1).instance_values # => {"x" => 0, "y" => 1}