Exception: Aikido::Zen::UnderAttackError
- Inherits:
-
StandardError
- Object
- StandardError
- Aikido::Zen::UnderAttackError
- Defined in:
- lib/aikido/zen/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#attack ⇒ Object
readonly
Returns the value of attribute attack.
Instance Method Summary collapse
-
#initialize(attack) ⇒ UnderAttackError
constructor
A new instance of UnderAttackError.
Constructor Details
#initialize(attack) ⇒ UnderAttackError
Returns a new instance of UnderAttackError.
62 63 64 65 |
# File 'lib/aikido/zen/errors.rb', line 62 def initialize(attack) super(attack.) @attack = attack end |
Instance Attribute Details
#attack ⇒ Object (readonly)
Returns the value of attribute attack.
60 61 62 |
# File 'lib/aikido/zen/errors.rb', line 60 def attack @attack end |