Exception: Iconoclasm::RTFMError

Inherits:
Error
  • Object
show all
Defined in:
lib/iconoclasm/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(reason) ⇒ RTFMError

Returns a new instance of RTFMError.



50
51
52
# File 'lib/iconoclasm/errors.rb', line 50

def initialize(reason)
  @reason = reason
end

Instance Method Details

#messageObject



54
55
56
# File 'lib/iconoclasm/errors.rb', line 54

def message
  "Iconoclasm doesn't work that way (#{@reason})"
end