Class: Capistrano::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/rvm/capistrano/helpers/base.rb

Instance Method Summary collapse

Instance Method Details

#deferred_load(&block) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/rvm/capistrano/helpers/base.rb', line 3

def deferred_load(&block)
  if current_task
    instance_eval(&block)
  else
    on(:load, &block)
  end
end