Method: Travis::CLI::History#run
- Defined in:
- lib/travis/cli/history.rb
#run ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/travis/cli/history.rb', line 16 def run countdown = Integer(limit || 10) unless all? params = { :after_number => after } if after repository.each_build(params) do |build| next unless display? build display(build) if countdown countdown -= 1 break if countdown < 1 end end end |