Class: Pic2ch::Parsers::NotFound
- Inherits:
-
ParseError
- Object
- Pic2ch::Parsers::NotFound
- Defined in:
- lib/pic2ch/parsers/errors.rb
Instance Method Summary collapse
-
#initialize(attr) ⇒ NotFound
constructor
A new instance of NotFound.
- #message ⇒ Object
Constructor Details
#initialize(attr) ⇒ NotFound
Returns a new instance of NotFound.
6 7 8 |
# File 'lib/pic2ch/parsers/errors.rb', line 6 def initialize(attr) @attr = attr end |
Instance Method Details
#message ⇒ Object
10 11 12 |
# File 'lib/pic2ch/parsers/errors.rb', line 10 def "#{@attr} is not found" end |