Class: Rubyang::Model::Config
- Defined in:
- lib/rubyang/model.rb
Instance Method Summary collapse
Methods inherited from ArgStmt
#arg, #arg_regexp, #initialize, #to_s
Methods inherited from BaseStmt
#has_substmt?, #initialize, #not_schema_node_substmts, #schema_node_substmts, #substmt, #substmts, #to_s, #to_yang, #without_not_schema_node_substmts
Constructor Details
This class inherits a constructor from Rubyang::Model::ArgStmt
Instance Method Details
#substatements ⇒ Object
980 981 982 983 984 |
# File 'lib/rubyang/model.rb', line 980 def substatements { :'unknown' => 0..Float::INFINITY, } end |
#valid_arg?(arg) ⇒ Boolean
985 986 987 |
# File 'lib/rubyang/model.rb', line 985 def valid_arg? arg ['true', 'false'].include? arg end |