Exception: PgVerify::Interpret::InvalidDSL_graph
- Inherits:
-
Core::Error
- Object
- StandardError
- Core::Error
- PgVerify::Interpret::InvalidDSL_graph
- Defined in:
- lib/pg-verify/interpret/interpret.rb
Instance Method Summary collapse
- #formatted ⇒ Object
-
#initialize(message) ⇒ InvalidDSL_graph
constructor
A new instance of InvalidDSL_graph.
Methods inherited from Core::Error
Constructor Details
#initialize(message) ⇒ InvalidDSL_graph
Returns a new instance of InvalidDSL_graph.
64 65 66 |
# File 'lib/pg-verify/interpret/interpret.rb', line 64 def initialize() @message = end |
Instance Method Details
#formatted ⇒ Object
67 68 69 70 71 |
# File 'lib/pg-verify/interpret/interpret.rb', line 67 def formatted() hint = [ "Define graphs like this:" ] hint << "graph <name> do ... end" return @message, nil, hint.join("\n") end |