Class: CLI
- Inherits:
-
Thor
- Object
- Thor
- CLI
- Defined in:
- lib/learn-japanese/cli.rb
Instance Method Summary collapse
Instance Method Details
#choose_answer ⇒ Object
16 17 18 19 |
# File 'lib/learn-japanese/cli.rb', line 16 def choose_answer() level = ['level'].to_i LearnJapanese.choose_answer(level) end |
#romaji ⇒ Object
37 38 39 |
# File 'lib/learn-japanese/cli.rb', line 37 def romaji LearnJapanese.romaji end |
#short_answer ⇒ Object
24 25 26 27 |
# File 'lib/learn-japanese/cli.rb', line 24 def short_answer() level = ['level'].to_i LearnJapanese.short_answer(level) end |
#sound ⇒ Object
31 32 33 |
# File 'lib/learn-japanese/cli.rb', line 31 def sound LearnJapanese.sound end |
#version ⇒ Object
9 10 11 |
# File 'lib/learn-japanese/cli.rb', line 9 def version LearnJapanese.show_version end |