Sha256: 0633be10930f8080225d1b145aaefccd1bbaf77588dcfd1085af6adb218f0706

Contents?: true

Size: 219 Bytes

Versions: 3

Compression:

Stored size: 219 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

3 entries across 3 versions & 1 rubygems

Version Path
git_wrapper-1.0.2 lib/git_wrapper/commands/init.rb
git_wrapper-1.0.1 lib/git_wrapper/commands/init.rb
git_wrapper-1.0.0 lib/git_wrapper/commands/init.rb