Files

Grit::GitRuby::Blob

Attributes

content[RW]

Public Class Methods

from_raw(rawobject, repository) click to toggle source
# File lib/grit/git-ruby/object.rb, line 80
def self.from_raw(rawobject, repository)
  new(rawobject.content)
end
new(content, repository=nil) click to toggle source
# File lib/grit/git-ruby/object.rb, line 84
def initialize(content, repository=nil)
  @content = content
  @repository = repository
end

Public Instance Methods

raw_content() click to toggle source
# File lib/grit/git-ruby/object.rb, line 93
def raw_content
  @content
end
type() click to toggle source
# File lib/grit/git-ruby/object.rb, line 89
def type
  :blob
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.