Class: Tweetwine::CLI::UpdateCommand
- Defined in:
- lib/tweetwine/cli.rb
Instance Method Summary collapse
Methods inherited from Command
abort_with_usage, about, inherited, #initialize, name, register, show_usage, usage
Constructor Details
This class inherits a constructor from Tweetwine::CLI::Command
Instance Method Details
#parse(args) ⇒ Object
348 349 350 351 352 |
# File 'lib/tweetwine/cli.rb', line 348 def parse(args) @msg = args.join(' ') args.clear true end |
#run ⇒ Object
354 355 356 |
# File 'lib/tweetwine/cli.rb', line 354 def run CLI.twitter.update @msg end |