Exception: Mappum::MapMissingException
- Defined in:
- lib/mappum/ruby_transform.rb
Instance Attribute Summary collapse
-
#from ⇒ Object
Returns the value of attribute from.
Instance Method Summary collapse
-
#initialize(from, msg = nil) ⇒ MapMissingException
constructor
A new instance of MapMissingException.
Constructor Details
#initialize(from, msg = nil) ⇒ MapMissingException
Returns a new instance of MapMissingException.
17 18 19 20 21 |
# File 'lib/mappum/ruby_transform.rb', line 17 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.
16 17 18 |
# File 'lib/mappum/ruby_transform.rb', line 16 def from @from end |