class MarvelExplorer::CLI
Public Instance Methods
perform()
click to toggle source
# File lib/marvel_explorer/cli.rb, line 53 def perform @me = Explorer.new @me.update @me.rankings commits: 96 @me.rankings commits: 672 @me.publish @me.tweet end
publish()
click to toggle source
# File lib/marvel_explorer/cli.rb, line 28 def publish @me = Explorer.new @me.publish end
ranking()
click to toggle source
# File lib/marvel_explorer/cli.rb, line 46 def ranking @me = Explorer.new @me.record_rankings commits: options[:commits], limit: options[:limit] end
tweet()
click to toggle source
# File lib/marvel_explorer/cli.rb, line 21 def tweet @me = Explorer.new @me.tweet end
update()
click to toggle source
# File lib/marvel_explorer/cli.rb, line 14 def update @me = Explorer.new @me.update end
version()
click to toggle source
# File lib/marvel_explorer/cli.rb, line 6 def version puts 'marvel_explorer version %s' % [ VERSION ] end