Sha256: 96cd5a3d3e7d8dacca72fce54d20a55df70110139cf16dafb0e68d2d246a0b89

Contents?: true

Size: 294 Bytes

Versions: 12

Compression:

Stored size: 294 Bytes

Contents

require 'papa/command/base'

module Papa
  module Command
    module Git
      class Branch < Command::Base
        def initialize(branch_name)
          @branch_name = branch_name
          command = "git branch #{branch_name}"
          super(command)
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
papa-1.2.0 lib/papa/command/git/branch.rb
papa-1.1.0 lib/papa/command/git/branch.rb
papa-1.0.0 lib/papa/command/git/branch.rb
papa-0.7.2 lib/papa/command/git/branch.rb
papa-0.7.1 lib/papa/command/git/branch.rb
papa-0.7.0 lib/papa/command/git/branch.rb
papa-0.6.2 lib/papa/command/git/branch.rb
papa-0.6.1 lib/papa/command/git/branch.rb
papa-0.6.0 lib/papa/command/git/branch.rb
papa-0.5.0 lib/papa/command/git/branch.rb
papa-0.4.1 lib/papa/command/git/branch.rb
papa-0.4.0 lib/papa/command/git/branch.rb