Class: Rubyang::Database::SchemaTree::LeafList
- Inherits:
-
LeafSchemaNode
- Object
- SchemaNode
- LeafSchemaNode
- Rubyang::Database::SchemaTree::LeafList
- Defined in:
- lib/rubyang/database/schema_tree.rb
Instance Attribute Summary collapse
-
#max_elements ⇒ Object
readonly
min-elements start max-elements start.
-
#min_elements ⇒ Object
readonly
min-elements start max-elements start.
Attributes inherited from LeafSchemaNode
#arg, #current_module, #identity_list, #module, #parent, #typedef_list, #yang, #yangs
Attributes inherited from SchemaNode
#arg, #module, #parent, #yang, #yangs
Instance Method Summary collapse
-
#initialize(*args) ⇒ LeafList
constructor
A new instance of LeafList.
Methods inherited from LeafSchemaNode
Methods inherited from SchemaNode
#evaluate_xpath, #evaluate_xpath_axis, #evaluate_xpath_expr, #evaluate_xpath_node_test, #evaluate_xpath_path, #evaluate_xpath_predicates, #load_yang, #model, #namespace, #prefix, #root, #to_json, #to_s
Constructor Details
#initialize(*args) ⇒ LeafList
Returns a new instance of LeafList.
1174 1175 1176 1177 1178 |
# File 'lib/rubyang/database/schema_tree.rb', line 1174 def initialize *args super @min_elements = [] @max_elements = [] end |
Instance Attribute Details
#max_elements ⇒ Object (readonly)
min-elements start max-elements start
1173 1174 1175 |
# File 'lib/rubyang/database/schema_tree.rb', line 1173 def max_elements @max_elements end |
#min_elements ⇒ Object (readonly)
min-elements start max-elements start
1173 1174 1175 |
# File 'lib/rubyang/database/schema_tree.rb', line 1173 def min_elements @min_elements end |