Sha256: e044eba0efb29483944224b45a12d9ad60422fa77437b2ca6da569627bd6b26b

Contents?: true

Size: 557 Bytes

Versions: 1

Compression:

Stored size: 557 Bytes

Contents

require 'cucumber/usual_suspects/api'
require 'cucumber/usual_suspects/cucumber_patches'
require 'cucumber/usual_suspects/dsl'

module Cucumber
  module UsualSuspects
    extend Api
    self.transforms_registry = Cucumber::RbSupport::RbDsl
    
    module ExpandsStepDefinitionRegexps
      def register_rb_step_definition(regexp, proc)
        expanded_regexp = Cucumber::UsualSuspects.expand(regexp)
        super expanded_regexp, proc
      end
    end
    
    Cucumber::RbSupport::RbDsl.extend_rb_language_with(ExpandsStepDefinitionRegexps)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cucumber-usual_suspects-0.0.1 lib/cucumber/usual_suspects.rb