Exception: Rabbit::InvalidMotionError
- Defined in:
- lib/rabbit/rabbit.rb
Constant Summary
Constants included from GetText
Instance Attribute Summary collapse
-
#motion ⇒ Object
readonly
Returns the value of attribute motion.
Instance Method Summary collapse
-
#initialize(motion) ⇒ InvalidMotionError
constructor
A new instance of InvalidMotionError.
Methods included from GetText
Constructor Details
#initialize(motion) ⇒ InvalidMotionError
Returns a new instance of InvalidMotionError.
208 209 210 211 |
# File 'lib/rabbit/rabbit.rb', line 208 def initialize(motion) @motion = motion super(_("invalid motion: %s") % @motion) end |
Instance Attribute Details
#motion ⇒ Object (readonly)
Returns the value of attribute motion.
207 208 209 |
# File 'lib/rabbit/rabbit.rb', line 207 def motion @motion end |