Sha256: 40d03d5cdd56e71b810901cc45604fbce47232c884c50708e6f467012f043eac
Contents?: true
Size: 506 Bytes
Versions: 9
Compression:
Stored size: 506 Bytes
Contents
module RGitFlow module Tasks class Feature autoload :Start, 'rgitflow/tasks/feature/start' autoload :Finish, 'rgitflow/tasks/feature/finish' class << self attr_accessor :instance def install_tasks(opts = {}) new(opts[:git]).install end end attr_reader :git def initialize(git = nil) @git = git || Git.open(Dir.pwd) end def install Start.new @git Finish.new @git end end end end
Version data entries
9 entries across 9 versions & 1 rubygems