Sha256: d448c566cd4be6a7e91895db5f9002a9008174c27353cdb6fac0bd00d38568d2

Contents?: true

Size: 241 Bytes

Versions: 3

Compression:

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

3 entries across 3 versions & 1 rubygems

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