Class: Ed::Delegator
- Inherits:
-
Object
- Object
- Ed::Delegator
- Defined in:
- lib/ed/delegator.rb
Instance Method Summary collapse
- #commit(commit, &block) ⇒ void (also: #tag, #branch)
-
#initialize(delegate) ⇒ Delegator
constructor
A new instance of Delegator.
- #setup(&block) ⇒ void
Constructor Details
#initialize(delegate) ⇒ Delegator
Returns a new instance of Delegator.
7 8 9 |
# File 'lib/ed/delegator.rb', line 7 def initialize delegate @__delegate__ = delegate end |
Instance Method Details
#commit(commit, &block) ⇒ void Also known as: tag, branch
This method returns an undefined value.
32 33 34 |
# File 'lib/ed/delegator.rb', line 32 def commit commit, &block @__delegate__.commit(commit, &block) end |
#setup(&block) ⇒ void
This method returns an undefined value.
18 19 20 |
# File 'lib/ed/delegator.rb', line 18 def setup &block @__delegate__.setup(&block) end |