Class: QueryStream::Command::Top
- Inherits:
-
Samovar::Command
- Object
- Samovar::Command
- QueryStream::Command::Top
- Defined in:
- lib/query_stream/command.rb
Overview
トップレベルコマンド
Instance Method Summary collapse
-
#call ⇒ Object
コマンド実行.
Instance Method Details
#call ⇒ Object
コマンド実行
23 24 25 26 27 28 29 |
# File 'lib/query_stream/command.rb', line 23 def call if [:version] puts "query-stream #{QueryStream::VERSION}" else print_usage end end |