Class: BumperPusher::Pusher
- Inherits:
-
Object
- Object
- BumperPusher::Pusher
- Defined in:
- lib/bumper_pusher.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize ⇒ Pusher
constructor
A new instance of Pusher.
Constructor Details
#initialize ⇒ Pusher
11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/bumper_pusher.rb', line 11 def initialize = BumperPusher::Parser.new. .freeze @parser = BumperPusher::Bumper.new() if [:revert] @parser.revert_last_bump else @parser.run_bumping_script end end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
10 11 12 |
# File 'lib/bumper_pusher.rb', line 10 def end |