Sha256: 1042b910ec855e6744901fc0470cf9a64e069af3bb13ef74ba388d332000d1d4

Contents?: true

Size: 226 Bytes

Versions: 4

Compression:

Stored size: 226 Bytes

Contents

module GitWrapper
  module Commands
    class Remove < Git

      def file(file_name)
        @file = to_relative_path(file_name)
        self
      end

      def command
        "rm \"#{@file}\""
      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/remove.rb
git_wrapper-1.1.1 lib/git_wrapper/commands/remove.rb
git_wrapper-1.1.0 lib/git_wrapper/commands/remove.rb
git_wrapper-1.0.3 lib/git_wrapper/commands/remove.rb