Method: Peck::Error#initialize
- Defined in:
- lib/peck/error.rb
#initialize(type, message) ⇒ Error
Returns a new instance of Error.
7 8 9 10 |
# File 'lib/peck/error.rb', line 7 def initialize(type, ) @type = type.to_s super end |
Returns a new instance of Error.
7 8 9 10 |
# File 'lib/peck/error.rb', line 7 def initialize(type, ) @type = type.to_s super end |