Method: Kibosh::Exceptions::Error#initialize
- Defined in:
- lib/kibosh/exceptions.rb
#initialize(mod, message, session = nil) ⇒ Error
Returns a new instance of Error.
9 10 11 12 13 14 |
# File 'lib/kibosh/exceptions.rb', line 9 def initialize mod, , session = nil raise "hell" if !(Module === mod) super @module = mod @session = session end |