class Crackin::Scm::Tags

Public Class Methods

new(git) click to toggle source
# File lib/crackin/scm/git.rb, line 100
def initialize(git)
  @git = git
end

Public Instance Methods

all() click to toggle source
# File lib/crackin/scm/git.rb, line 112
def all
  @git.tags
end
create(name) click to toggle source
# File lib/crackin/scm/git.rb, line 108
def create(name)
  @git.add_tag(name)
end
delete(name) click to toggle source
# File lib/crackin/scm/git.rb, line 116
def delete(name)
  @git.tag_delete(name)
end
find(name) click to toggle source
# File lib/crackin/scm/git.rb, line 104
def find(name)
  @git.tag(name)
end