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