Method: Git::Object::Commit#parents

Defined in:
lib/git/object.rb

#parents

array of all parent commits

[View source]

193
194
195
196
# File 'lib/git/object.rb', line 193

def parents
  check_commit
  @parents
end