Sha256: 442439c5f88f11378b74ebf7108950106936a1c5fadde1fed509996f9f1960a0

Contents?: true

Size: 204 Bytes

Versions: 4

Compression:

Stored size: 204 Bytes

Contents

module GitWrapper
  module Commands
    class Init < Git

      def bare
        @bare = true
        self
      end

      def command
        "init#{@bare ? ' --bare' : ''}"
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
git_wrapper-1.1.2 lib/git_wrapper/commands/init.rb
git_wrapper-1.1.1 lib/git_wrapper/commands/init.rb
git_wrapper-1.1.0 lib/git_wrapper/commands/init.rb
git_wrapper-1.0.3 lib/git_wrapper/commands/init.rb