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