Class Origami::NameLeaf
In: sources/parser/catalog.rb
Parent: Origami::Array

Class representing a leaf in a Name tree.

Methods

new  

Public Class methods

Creates a new leaf in a Name tree.

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

[Source]

     # File sources/parser/catalog.rb, line 259
259:     def initialize(hash = {}, indirect = false)
260:       
261:       names = []
262:       hash.each_pair { |k,v|
263:         names << k.to_o << v.to_o
264:       }
265:       
266:       super(names, indirect)
267:       
268:     end

[Validate]