Public class methods
new
(name = 'publish', &blk)
Defines a task named name where the block given behaves like a Grancher-object.
If push_to is set, it will automatically push the branch when done.
[show source]
# File lib/grancher/task.rb, line 9 9: def initialize(name = 'publish', &blk) 10: @grancher = Grancher.new(&blk) 11: define_task(name) 12: end