Sha256: 65bc740841dbefd943acc2702c1d9f170c6795cacafba22889045689ac89fbb7
Contents?: true
Size: 483 Bytes
Versions: 13
Compression:
Stored size: 483 Bytes
Contents
module Cucumber module RbSupport # Wrapper for Before, After and AfterStep hooks class RbHook attr_accessor :tag_name_lists 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
13 entries across 13 versions & 4 rubygems