Module: Spec::Runner::ContextEval::ModuleMethods

Defined in:
lib/spekmachine/runner/context_eval.rb

Instance Method Summary collapse

Instance Method Details

#goto(name, &block) ⇒ Object



5
6
7
# File 'lib/spekmachine/runner/context_eval.rb', line 5

def goto(name, &block)
  goto_parts[name] = block
end

#goto_partsObject



9
10
11
# File 'lib/spekmachine/runner/context_eval.rb', line 9

def goto_parts
  @goto_parts ||= {}
end