Class: KansaiTrainInfo::CLI
- Inherits:
-
Thor
- Object
- Thor
- KansaiTrainInfo::CLI
- Defined in:
- lib/kansai_train_info/cli.rb
Instance Method Summary collapse
Instance Method Details
#get(*routes) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/kansai_train_info/cli.rb', line 4 def get(*routes) texts = KansaiTrainInfo.get(routes) texts.each do |text| print text print "\n" end end |
#help ⇒ Object
13 14 15 |
# File 'lib/kansai_train_info/cli.rb', line 13 def help KansaiTrainInfo.help end |