Exception: Iconoclasm::RTFMError
- Defined in:
- lib/iconoclasm/errors.rb
Instance Method Summary collapse
-
#initialize(reason) ⇒ RTFMError
constructor
A new instance of RTFMError.
- #message ⇒ Object
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
#message ⇒ Object
54 55 56 |
# File 'lib/iconoclasm/errors.rb', line 54 def "Iconoclasm doesn't work that way (#{@reason})" end |