class Bringit::Tag
Attributes
object_sha[R]
Public Class Methods
find(repository, name)
click to toggle source
# File lib/bringit/tag.rb, line 5 def self.find(repository, name) repository.tags.find { |tag| tag.name == name } end
new(repository, name, target, message = nil)
click to toggle source
Calls superclass method
Bringit::Ref::new
# File lib/bringit/tag.rb, line 9 def initialize(repository, name, target, message = nil) super(repository, name, target) @message = message end
Public Instance Methods
message()
click to toggle source
# File lib/bringit/tag.rb, line 15 def message encode! @message end