Exception: CDDL::MissingGenericError
- Inherits:
-
StandardError
- Object
- StandardError
- CDDL::MissingGenericError
- Defined in:
- lib/processor/cddl-expander.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name_, args_) ⇒ MissingGenericError
constructor
A new instance of MissingGenericError.
Constructor Details
#initialize(name_, args_) ⇒ MissingGenericError
Returns a new instance of MissingGenericError.
8 9 10 11 12 |
# File 'lib/processor/cddl-expander.rb', line 8 def initialize(name_, args_) @name = name_ @args = args_ super("** no generic for #{name}<#{args}>") end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
7 8 9 |
# File 'lib/processor/cddl-expander.rb', line 7 def args @args end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/processor/cddl-expander.rb', line 7 def name @name end |