Class: Pic2ch::Parsers::NotFound

Inherits:
ParseError
  • Object
show all
Defined in:
lib/pic2ch/parsers/errors.rb

Instance Method Summary collapse

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

#messageObject



10
11
12
# File 'lib/pic2ch/parsers/errors.rb', line 10

def message
  "#{@attr} is not found"
end