class RGitFlow::Tasks::Feature

Attributes

instance[RW]
git[R]

Public Class Methods

install_tasks(opts = {}) click to toggle source
# File lib/rgitflow/tasks/feature/tasks.rb, line 10
def install_tasks(opts = {})
  new(opts[:git]).install
end
new(git = nil) click to toggle source
# File lib/rgitflow/tasks/feature/tasks.rb, line 17
def initialize(git = nil)
  @git = git || Git.open(Dir.pwd)
end

Public Instance Methods

install() click to toggle source
# File lib/rgitflow/tasks/feature/tasks.rb, line 21
def install
  Start.new @git
  Finish.new @git
end