Sha256: 29ba429af073205fbdd6bca7006de4f3b661f8340b364ef816ac1cbabd23e59f

Contents?: true

Size: 554 Bytes

Versions: 142

Compression:

Stored size: 554 Bytes

Contents

module Cucumber
  # Cucumber 1 and 2
  # https://github.com/cucumber/cucumber-ruby/blob/v2.99.0/lib/cucumber/rb_support/rb_dsl.rb
  module RbSupport
    class RbDsl
      class << self
        def register_rb_hook(phase, tag_names, proc)
          proc.call
        end
      end
    end
  end

  # Cucumber 3
  # https://github.com/cucumber/cucumber-ruby/blob/v3.0.0/lib/cucumber/glue/dsl.rb
  module Glue
    class Dsl
      class << self
        def register_rb_hook(phase, tag_names, proc)
          proc.call
        end
      end
    end
  end
end

Version data entries

142 entries across 142 versions & 2 rubygems

Version Path
knapsack_pro-0.52.0 spec/support/fakes/cucumber.rb
knapsack-1.15.0 spec/support/fakes/cucumber.rb