Class: Onsen::Command
- Inherits:
-
Thor
- Object
- Thor
- Onsen::Command
- Defined in:
- lib/onsen/command.rb
Instance Method Summary collapse
Instance Method Details
#twitter(times) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/onsen/command.rb', line 9 def twitter(times) output = [] output << "#{times} ツイートするよ?" output << 'メッセージ追加です!!' if [:message] puts [:test] ? (output << 'test実行です。') : output end |