Exception: MotionSpec::Error
- Defined in:
- lib/motion-spec/error.rb
Instance Attribute Summary collapse
-
#count_as ⇒ Object
Returns the value of attribute count_as.
Instance Method Summary collapse
-
#initialize(count_as, message) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(count_as, message) ⇒ Error
Returns a new instance of Error.
6 7 8 9 |
# File 'lib/motion-spec/error.rb', line 6 def initialize(count_as, ) @count_as = count_as super end |
Instance Attribute Details
#count_as ⇒ Object
Returns the value of attribute count_as.
4 5 6 |
# File 'lib/motion-spec/error.rb', line 4 def count_as @count_as end |