Method: Git::Object::AbstractObject#initialize
- Defined in:
- lib/git/object.rb
#initialize(base, objectish) ⇒ AbstractObject
Returns a new instance of AbstractObject.
14 15 16 17 18 19 20 21 |
# File 'lib/git/object.rb', line 14 def initialize(base, objectish) @base = base @objectish = objectish.to_s @contents = nil @trees = nil @size = nil @sha = nil end |