Exception: Rudy::Error

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

Instance Method Summary collapse

Constructor Details

#initialize(obj = nil) ⇒ Error

Returns a new instance of Error.



113
# File 'lib/rudy.rb', line 113

def initialize(obj=nil); @obj = obj; end

Instance Method Details

#messageObject



114
# File 'lib/rudy.rb', line 114

def message; "#{self.class}: #{@obj}"; end