Module: Cucumber::Glue
- Defined in:
- lib/cucumber/glue/dsl.rb,
lib/cucumber/glue/hook.rb,
lib/cucumber/glue/snippet.rb,
lib/cucumber/glue/proto_world.rb,
lib/cucumber/glue/world_factory.rb,
lib/cucumber/glue/invoke_in_world.rb,
lib/cucumber/glue/step_definition.rb,
lib/cucumber/glue/registry_wrapper.rb,
lib/cucumber/glue/registry_and_more.rb
Defined Under Namespace
Modules: Dsl, ProtoWorld, Snippet Classes: ArityMismatchError, Hook, InvokeInWorld, MultipleWorld, NilWorld, RegistryAndMore, RegistryWrapper, StepDefinition, WorldFactory
Class Method Summary collapse
Class Method Details
.backtrace_line(proc, name) ⇒ Object
231 232 233 234 |
# File 'lib/cucumber/glue/registry_and_more.rb', line 231 def self.backtrace_line(proc, name) location = Cucumber::Core::Test::Location.from_source_location(*proc.source_location) "#{location}:in `#{name}'" end |