Sha256: acafd7caefab2ab5758c5f558dcc81697691e7eff9cad54c3cc265fd9c3a6f9d

Contents?: true

Size: 430 Bytes

Versions: 2

Compression:

Stored size: 430 Bytes

Contents

# encoding: utf-8

module Nanoc::Extra::VCSes
  # @see Nanoc::Extra::VCS
  class Subversion < Nanoc::Extra::VCS
    # @see Nanoc::Extra::VCS#add
    def add(filename)
      system('svn', 'add', filename)
    end

    # @see Nanoc::Extra::VCS#remove
    def remove(filename)
      system('svn', 'rm', filename)
    end

    # @see Nanoc::Extra::VCS#move
    def move(src, dst)
      system('svn', 'mv', src, dst)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nanoc-3.8.0 lib/nanoc/extra/vcses/subversion.rb
nanoc-3.7.5 lib/nanoc/extra/vcses/subversion.rb