Sha256: cf1288748595fc1d666112e937f18991d213d9188bfb640ab56477165e6c2d04
Contents?: true
Size: 446 Bytes
Versions: 26
Compression:
Stored size: 446 Bytes
Contents
module Cucumber module RbSupport # Wrapper for Before, After and AfterStep hooks class RbHook attr_reader :tag_names def initialize(rb_language, tag_names, proc) @rb_language = rb_language @tag_names = tag_names @proc = proc end def invoke(location, argument) @rb_language.current_world.cucumber_instance_exec(false, location, argument, &@proc) end end end end
Version data entries
26 entries across 26 versions & 5 rubygems