Exception: GraphitiSpecHelpers::Errors::LinksNotFound
- Defined in:
- lib/graphiti_spec_helpers/errors.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ LinksNotFound
constructor
A new instance of LinksNotFound.
- #message ⇒ Object
Constructor Details
#initialize(name) ⇒ LinksNotFound
Returns a new instance of LinksNotFound.
6 7 8 |
# File 'lib/graphiti_spec_helpers/errors.rb', line 6 def initialize(name) @name = name end |
Instance Method Details
#message ⇒ Object
10 11 12 |
# File 'lib/graphiti_spec_helpers/errors.rb', line 10 def "Relationship with name '#{@name}' has no links!" end |