Class: Rubyang::Model::Unknown
- Defined in:
- lib/rubyang/model.rb
Instance Method Summary collapse
-
#initialize(name, arg = '', substmts = []) ⇒ Unknown
constructor
A new instance of Unknown.
- #name ⇒ Object
- #substatements ⇒ Object
Methods inherited from ArgStmt
#arg, #arg_regexp, #to_s, #valid_arg?
Methods inherited from BaseStmt
#has_substmt?, #not_schema_node_substmts, #schema_node_substmts, #substmt, #substmts, #to_s, #to_yang, #without_not_schema_node_substmts
Constructor Details
#initialize(name, arg = '', substmts = []) ⇒ Unknown
Returns a new instance of Unknown.
1029 1030 1031 1032 |
# File 'lib/rubyang/model.rb', line 1029 def initialize name, arg='', substmts=[] super arg, substmts @name = name end |
Instance Method Details
#name ⇒ Object
1033 1034 1035 |
# File 'lib/rubyang/model.rb', line 1033 def name @name end |
#substatements ⇒ Object
1024 1025 1026 1027 1028 |
# File 'lib/rubyang/model.rb', line 1024 def substatements { :'unknown' => 0..Float::INFINITY, } end |