Module: Thumblemonks::Forklift::ContextExtensions
- Defined in:
- lib/forklift.rb
Instance Method Summary collapse
Instance Method Details
#depot(&block) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/forklift.rb', line 9 def depot(&block) captured_instance_vars, depot_ran = nil, false setup do inject_instance_vars(captured_instance_vars) && next if depot_ran captured_instance_vars, depot_ran = run_depot_and_capture_vars(block), true end end |