Sha256: 514c1f9a25e91f0efa09883260da5009b8c76d05c397aadd74d9cc9d9f9a55a7
Contents?: true
Size: 488 Bytes
Versions: 9
Compression:
Stored size: 488 Bytes
Contents
module RGitFlow module Tasks class SCM autoload :Status, 'rgitflow/tasks/scm/status' autoload :Tag, 'rgitflow/tasks/scm/tag' 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 Status.new @git Tag.new @git end end end end
Version data entries
9 entries across 9 versions & 1 rubygems