Class: GitDB::Objects::Blob
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#initialize, #inspect, #properties, #sha
Constructor Details
This class inherits a constructor from GitDB::Objects::Base
Instance Method Details
#raw ⇒ Object
3 4 5 |
# File 'lib/git-db/objects/blob.rb', line 3 def raw "blob #{data.length}\000#{data}" end |
#type ⇒ Object
7 8 9 |
# File 'lib/git-db/objects/blob.rb', line 7 def type GitDB::OBJ_BLOB end |