class Motion::MotionNotMapped
Attributes
motion[R]
Public Class Methods
new(component, motion)
click to toggle source
Calls superclass method
Motion::ComponentError::new
# File lib/motion/errors.rb, line 23 def initialize(component, motion) super( component, "No component motion handler mapped for motion `#{motion}` in " \ "component `#{component.class}`.\n" \ "\n" \ "Hint: Consider adding `map_motion :#{motion}` to `#{component.class}`." ) @motion = motion end