Exception: Bacon::Error

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/vendor/bacon.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(count_as, message) ⇒ Error

Returns a new instance of Error.



101
102
103
104
# File 'lib/vendor/bacon.rb', line 101

def initialize(count_as, message)
  @count_as = count_as
  super message
end

Instance Attribute Details

#count_asObject

Returns the value of attribute count_as.



99
100
101
# File 'lib/vendor/bacon.rb', line 99

def count_as
  @count_as
end