Method: Git::Base#show

Defined in:
lib/git/base.rb

#show(objectish = nil, path = nil) ⇒ String

Shows objects

Parameters:

  • objectish (String|NilClass) (defaults to: nil)

    the target object reference (nil == HEAD)

  • path (String|NilClass) (defaults to: nil)

    the path of the file to be shown

Returns:

  • (String)

    the object information


586
587
588
# File 'lib/git/base.rb', line 586

def show(objectish=nil, path=nil)
  self.lib.show(objectish, path)
end