Exception: SSCBot::AbstractMethodError
- Defined in:
- lib/ssc.bot/error.rb
Overview
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ AbstractMethodError
constructor
A new instance of AbstractMethodError.
Constructor Details
#initialize(msg = nil) ⇒ AbstractMethodError
Returns a new instance of AbstractMethodError.
24 25 26 27 28 29 30 |
# File 'lib/ssc.bot/error.rb', line 24 def initialize(msg=nil) if msg.is_a?(Symbol) msg = "abstract method not implemented: #{msg}(...)" end super(msg) end |