Top Level Namespace

Defined Under Namespace

Classes: Ed

Instance Method Summary collapse

Instance Method Details

#Repository(path) {|_self| ... } ⇒ Ed

Parameters:

  • path (String)

    The path to a git repository.

  • &block (Proc)

    Executed in the scope of Ed::Delegator.

Yield Parameters:

  • _self (Ed)

    Yields self in the calling scope, if a block parameter is given.

Returns:



11
12
13
# File 'lib/ed/core_ext/object.rb', line 11

def Repository path, &block
  Ed.new path, &block
end