class Poper::CLI
Public Class Methods
is_thor_reserved_word?(word, type)
click to toggle source
Calls superclass method
# File lib/poper/cli.rb, line 9 def is_thor_reserved_word?(word, type) return false if word == 'run' super end
Public Instance Methods
run(commit)
click to toggle source
# File lib/poper/cli.rb, line 18 def run(commit) Runner.new(commit).run.each do |message| # message.commit and message.message are Strings # prints first 7 characteres of the commit sha1 hash # followed by the associated message puts "#{message.commit[0..6]}: #{message.message}" end end
version()
click to toggle source
# File lib/poper/cli.rb, line 30 def version puts "Poper version #{::Poper::VERSION}" end