Class: WordnetJapanDiagram::DiagramCreater
- Inherits:
-
Object
- Object
- WordnetJapanDiagram::DiagramCreater
- Defined in:
- lib/wordnet_japan_diagram/diagram_creater.rb
Instance Method Summary collapse
- #create ⇒ Object
-
#initialize(command_options) ⇒ DiagramCreater
constructor
A new instance of DiagramCreater.
Constructor Details
#initialize(command_options) ⇒ DiagramCreater
Returns a new instance of DiagramCreater.
7 8 9 10 |
# File 'lib/wordnet_japan_diagram/diagram_creater.rb', line 7 def initialize() @options = . @graph_viz = GraphViz.new() end |
Instance Method Details
#create ⇒ Object
12 13 14 15 16 |
# File 'lib/wordnet_japan_diagram/diagram_creater.rb', line 12 def create draw_diagram output_diagram end |