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