Exception: PartialFinder::NonPartialArgument
- Inherits:
-
StandardError
- Object
- StandardError
- PartialFinder::NonPartialArgument
- Defined in:
- lib/partial_finder.rb
Instance Method Summary collapse
-
#initialize(path) ⇒ NonPartialArgument
constructor
A new instance of NonPartialArgument.
Constructor Details
#initialize(path) ⇒ NonPartialArgument
Returns a new instance of NonPartialArgument.
17 18 19 |
# File 'lib/partial_finder.rb', line 17 def initialize(path) super "You may only use this class with partials, but gave '#{path}'" end |