Class: Rubyang::Database::SchemaTree::MaxElements

Inherits:
Object
  • Object
show all
Defined in:
lib/rubyang/database/schema_tree.rb

Overview

max-elements start

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(schema_node) ⇒ MaxElements

Returns a new instance of MaxElements.



57
58
59
60
# File 'lib/rubyang/database/schema_tree.rb', line 57

def initialize schema_node
  @schema_node = schema_node
  @arg = schema_node.arg
end

Instance Attribute Details

#argObject (readonly)

Returns the value of attribute arg.



56
57
58
# File 'lib/rubyang/database/schema_tree.rb', line 56

def arg
  @arg
end