Class: Rubyang::Database::SchemaTree::MaxElements
- Inherits:
-
Object
- Object
- Rubyang::Database::SchemaTree::MaxElements
- Defined in:
- lib/rubyang/database/schema_tree.rb
Overview
max-elements start
Instance Attribute Summary collapse
-
#arg ⇒ Object
readonly
Returns the value of attribute arg.
Instance Method Summary collapse
-
#initialize(schema_node) ⇒ MaxElements
constructor
A new instance of MaxElements.
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
#arg ⇒ Object (readonly)
Returns the value of attribute arg.
56 57 58 |
# File 'lib/rubyang/database/schema_tree.rb', line 56 def arg @arg end |