Method: Grit::Git#method_missing

Defined in:
lib/grit/git.rb

#method_missing(cmd, options = {}, *args, &block) ⇒ Object

Methods not defined by a library implementation execute the git command using #native, passing the method name as the git command name.

Examples:

git.rev_list({:max_count => 10, :header => true}, "master")


371
372
373
# File 'lib/grit/git.rb', line 371

def method_missing(cmd, options={}, *args, &block)
  native(cmd, options, *args, &block)
end