class Onsen::Command
Public Instance Methods
twitter(times)
click to toggle source
# File lib/onsen/command.rb, line 9 def twitter(times) output = [] output << "#{times} ツイートするよ?" output << 'メッセージ追加です!!' if options[:message] puts options[:test] ? (output << 'test実行です。') : output end