Class Grit::GitRuby::Blob
In: lib/grit/git-ruby/git_object.rb
lib/grit/git-ruby/object.rb
Parent: GitObject

Methods

from_raw   from_raw   new   new   raw_content   raw_content   type   type  

Attributes

content  [RW] 
content  [RW] 

Public Class methods

[Source]

    # File lib/grit/git-ruby/git_object.rb, line 90
90:     def self.from_raw(rawobject, repository)
91:       new(rawobject.content)
92:     end

[Source]

    # File lib/grit/git-ruby/object.rb, line 80
80:     def self.from_raw(rawobject, repository)
81:       new(rawobject.content)
82:     end

[Source]

    # File lib/grit/git-ruby/object.rb, line 84
84:     def initialize(content, repository=nil)
85:       @content = content
86:       @repository = repository
87:     end

[Source]

    # File lib/grit/git-ruby/git_object.rb, line 94
94:     def initialize(content, repository=nil)
95:       @content = content
96:       @repository = repository
97:     end

Public Instance methods

[Source]

     # File lib/grit/git-ruby/git_object.rb, line 103
103:     def raw_content
104:       @content
105:     end

[Source]

    # File lib/grit/git-ruby/object.rb, line 93
93:     def raw_content
94:       @content
95:     end

[Source]

    # File lib/grit/git-ruby/object.rb, line 89
89:     def type
90:       :blob
91:     end

[Source]

     # File lib/grit/git-ruby/git_object.rb, line 99
 99:     def type
100:       :blob
101:     end

[Validate]