class BumperPusher::Pusher

Attributes

options[R]

Public Class Methods

new() click to toggle source
# File lib/bumper_pusher.rb, line 10
def initialize
  @options = BumperPusher::Parser.new.parse_options
  @options.freeze

  @parser = BumperPusher::Bumper.new(@options)

  if @options[:revert]
    @parser.revert_last_bump
  else
    @parser.run_bumping_script
  end
end