Module: Cucumber::Glue

Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/glue/dsl.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/glue/hook.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/glue/snippet.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/glue/proto_world.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/glue/world_factory.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/glue/invoke_in_world.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/glue/step_definition.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/glue/registry_wrapper.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/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



227
228
229
230
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/glue/registry_and_more.rb', line 227

def self.backtrace_line(proc, name)
  location = Cucumber::Core::Test::Location.from_source_location(*proc.source_location)
  "#{location}:in `#{name}'"
end