Class: ConceptQL::FakeGrapher
- Inherits:
-
Object
- Object
- ConceptQL::FakeGrapher
- Defined in:
- lib/conceptql/fake_grapher.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #graph_it(statement, output_file) ⇒ Object
-
#initialize(options = {}) ⇒ FakeGrapher
constructor
A new instance of FakeGrapher.
Constructor Details
#initialize(options = {}) ⇒ FakeGrapher
Returns a new instance of FakeGrapher.
9 10 11 12 13 14 |
# File 'lib/conceptql/fake_grapher.rb', line 9 def initialize( = {}) = { dangler: true, tree: ConceptQL::Tree.new(nodifier: ConceptQL::GraphNodifier.new) }.merge() end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
7 8 9 |
# File 'lib/conceptql/fake_grapher.rb', line 7 def end |
Instance Method Details
#graph_it(statement, output_file) ⇒ Object
16 17 18 |
# File 'lib/conceptql/fake_grapher.rb', line 16 def graph_it(statement, output_file) ConceptQL::Graph.new(statement, ).graph_it(output_file) end |