Exception: Sruby::SrubyError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sruby/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = String.new) ⇒ SrubyError

Returns a new instance of SrubyError.



5
6
7
# File 'lib/sruby/errors.rb', line 5

def initialize(msg = String.new)
  super("SRUBY ERROR : #{msg}")
end