Methods

Class/Module Index [+]

Quicksearch

Origami::NameLeaf

Class representing a leaf in a Name tree.

Public Class Methods

new(hash = {}) click to toggle source

Creates a new leaf in a Name tree.

hash

A hash of couples, associating a Name with an Reference.

# File lib/origami/catalog.rb, line 359
def initialize(hash = {})
  
  names = []
  hash.each_pair do |k,v|
    names << k.to_o << v.to_o
  end
  
  super(names)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.