Class: WordnetJapanDiagram::CLI
- Inherits:
-
Object
- Object
- WordnetJapanDiagram::CLI
- Defined in:
- lib/wordnet_japan_diagram/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(options) ⇒ CLI
constructor
A new instance of CLI.
Constructor Details
#initialize(options) ⇒ CLI
Returns a new instance of CLI.
16 17 18 |
# File 'lib/wordnet_japan_diagram/cli.rb', line 16 def initialize() @command_options = CommandOptions.new(options: ) end |
Class Method Details
.execute(options:) ⇒ Object
11 12 13 |
# File 'lib/wordnet_japan_diagram/cli.rb', line 11 def execute(options:) new().execute end |
Instance Method Details
#execute ⇒ Object
20 21 22 23 24 |
# File 'lib/wordnet_japan_diagram/cli.rb', line 20 def execute connect_database create_diagram end |