Exception: PartialFinder::NonPartialArgument

Inherits:
StandardError
  • Object
show all
Defined in:
lib/partial_finder.rb

Instance Method Summary collapse

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