Exception: Scampi::Error
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.
5 6 7 8 |
# File 'lib/scampi/error.rb', line 5 def initialize(count_as, ) @count_as = count_as super end |
Instance Attribute Details
#count_as ⇒ Object
Returns the value of attribute count_as.
3 4 5 |
# File 'lib/scampi/error.rb', line 3 def count_as @count_as end |