Class: Nanoc3::Extra::VCSes::Git

Constants Inherited from Nanoc3::Plugin

MAP

Public Visibility

Public Class Methods Inherited from Nanoc3::Extra::VCS

identifier, identifiers, register

Public Class Methods Inherited from Nanoc3::Plugin

all, named

Public Instance Method Summary

#add(filename)
#move(src, dst)
#remove(filename)

Public Instance Method Details

add

public add(filename)
[View source]


7
8
9
# File 'lib/nanoc3/extra/vcses/git.rb', line 7

def add(filename)
  system('git', 'add', filename)
end

move

public move(src, dst)
[View source]


15
16
17
# File 'lib/nanoc3/extra/vcses/git.rb', line 15

def move(src, dst)
  system('git', 'mv', src, dst)
end

remove

public remove(filename)
[View source]


11
12
13
# File 'lib/nanoc3/extra/vcses/git.rb', line 11

def remove(filename)
  system('git', 'rm', filename)
end
Generated on Sunday, August 09 2009 at 01:43:10 PM by YARD 0.2.3.2 (ruby-1.8.7).