Class: Rubyang::Database::SchemaTree::MinElements

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

Overview

min-elements start

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(schema_node) ⇒ MinElements

Returns a new instance of MinElements.



47
48
49
50
# File 'lib/rubyang/database/schema_tree.rb', line 47

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

Instance Attribute Details

#argObject (readonly)

Returns the value of attribute arg.



46
47
48
# File 'lib/rubyang/database/schema_tree.rb', line 46

def arg
  @arg
end