Exception: Mappum::MapMissingException
- Inherits:
-
MappumException
- Object
- RuntimeError
- MappumException
- Mappum::MapMissingException
- Defined in:
- lib/mappum/ruby_transform.rb
Instance Attribute Summary collapse
-
#from ⇒ Object
Returns the value of attribute from.
Attributes inherited from MappumException
#caused_by, #from_name, #from_root, #mappum_backtrace, #to, #to_name, #to_root
Instance Method Summary collapse
-
#initialize(from, msg = nil) ⇒ MapMissingException
constructor
A new instance of MapMissingException.
Methods inherited from MappumException
Constructor Details
#initialize(from, msg = nil) ⇒ MapMissingException
Returns a new instance of MapMissingException.
298 299 300 301 302 |
# File 'lib/mappum/ruby_transform.rb', line 298 def initialize(from, msg=nil) msg ||= "Map for class \"#{from.class}\" not found!" super(msg) @from = from end |
Instance Attribute Details
#from ⇒ Object
Returns the value of attribute from.
297 298 299 |
# File 'lib/mappum/ruby_transform.rb', line 297 def from @from end |