Exception: Spider::Controller::NotFound
- Defined in:
- lib/spiderfw/controller/controller_exceptions.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ NotFound
constructor
A new instance of NotFound.
- #to_s ⇒ Object
Constructor Details
#initialize(path) ⇒ NotFound
Returns a new instance of NotFound.
7 8 9 |
# File 'lib/spiderfw/controller/controller_exceptions.rb', line 7 def initialize(path) @path = path end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
5 6 7 |
# File 'lib/spiderfw/controller/controller_exceptions.rb', line 5 def path @path end |
Instance Method Details
#to_s ⇒ Object
11 12 13 |
# File 'lib/spiderfw/controller/controller_exceptions.rb', line 11 def to_s "NotFound: #{@path}" end |