Sha256: e92103c525d2436741fa43661574bb00afabd07b44abb499860325d1b2e79bf8

Contents?: true

Size: 383 Bytes

Versions: 31

Compression:

Stored size: 383 Bytes

Contents

# encoding: utf-8

module Nanoc::Extra::VCSes

  # @see Nanoc::Extra::VCS
  class Dummy < Nanoc::Extra::VCS

    # @see Nanoc::Extra::VCS#add
    def add(filename)
    end

    # @see Nanoc::Extra::VCS#remove
    def remove(filename)
      FileUtils.rm_rf(filename)
    end

    # @see Nanoc::Extra::VCS#move
    def move(src, dst)
      FileUtils.move(src, dst)
    end

  end

end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
nanoc-3.4.2 lib/nanoc/extra/vcses/dummy.rb
nanoc-3.4.1 lib/nanoc/extra/vcses/dummy.rb
nanoc-3.4.0 lib/nanoc/extra/vcses/dummy.rb
nanoc-3.3.7 lib/nanoc/extra/vcses/dummy.rb
nanoc-3.3.6 lib/nanoc/extra/vcses/dummy.rb
nanoc-3.3.5 lib/nanoc/extra/vcses/dummy.rb
nanoc-3.3.4 lib/nanoc/extra/vcses/dummy.rb
nanoc-3.3.3 lib/nanoc/extra/vcses/dummy.rb
nanoc-3.3.2 lib/nanoc/extra/vcses/dummy.rb
nanoc-3.3.1 lib/nanoc/extra/vcses/dummy.rb
nanoc-3.3.0 lib/nanoc/extra/vcses/dummy.rb