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