class 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.
Calls superclass method
Origami::Array.new
# 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