class FlatMap::OpenMapper::NoTargetError
Raised when mapper is initialized with no target defined
Public Class Methods
new(mapper_class)
click to toggle source
Initializes exception with a name of mapper class.
@param [Class] mapper_class class of mapper being initialized
Calls superclass method
# File lib/flat_map/open_mapper.rb, line 10 def initialize(mapper_class) super("Target object is required to initialize #{mapper_class.name}") end