Exception: CDDL::MissingGenericError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/processor/cddl-expander.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#argsObject (readonly)

Returns the value of attribute args.



7
8
9
# File 'lib/processor/cddl-expander.rb', line 7

def args
  @args
end

#nameObject (readonly)

Returns the value of attribute name.



7
8
9
# File 'lib/processor/cddl-expander.rb', line 7

def name
  @name
end