Class: Rubyang::Model::Type

Inherits:
ArgStmt show all
Defined in:
lib/rubyang/model.rb

Instance Method Summary collapse

Methods inherited from ArgStmt

#arg, #arg_regexp, #initialize, #to_s, #valid_arg?

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

#substatementsObject



341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
# File 'lib/rubyang/model.rb', line 341

def substatements
  {
    :'bit'              => 0..Float::INFINITY,
    :'enum'             => 0..Float::INFINITY,
    :'length'           => 0..1,
    :'path'             => 0..1,
    :'pattern'          => 0..Float::INFINITY,
    :'range'            => 0..1,
    :'require-instance' => 0..1,
    :'type'             => 0..Float::INFINITY,
    :'fraction-digits'  => 0..1,
    :'base'             => 0..1,
    :'unknown'          => 0..Float::INFINITY,
  }
end