Sha256: 10da03e0afcee8bf4a41a41296b11ed123970300529ef72392f0e8ba79f28e78

Contents?: true

Size: 925 Bytes

Versions: 28

Compression:

Stored size: 925 Bytes

Contents

# frozen_string_literal: true

require 'forwardable'
require 'cucumber/core/test/doc_string'

module Cucumber
  class Runtime
    # This is what a programming language will consider to be a runtime.
    #
    # It's a thin class that directs the handul of methods needed by the
    # programming languages to the right place.
    class ForProgrammingLanguages
      extend Forwardable

      attr_reader :support_code

      def initialize(support_code, user_interface)
        @support_code = support_code
        @user_interface = user_interface
      end

      def_delegators :@user_interface,
                     :embed,
                     :attach,
                     :ask,
                     :puts,
                     :features_paths,
                     :step_match

      def_delegators :@support_code,
                     :invoke_dynamic_steps,
                     :invoke_dynamic_step
    end
  end
end

Version data entries

28 entries across 28 versions & 4 rubygems

Version Path
honeybadger-5.3.0 vendor/bundle/ruby/3.2.0/gems/cucumber-9.0.2/lib/cucumber/runtime/for_programming_languages.rb
cucumber-9.0.2 lib/cucumber/runtime/for_programming_languages.rb
cucumber-9.0.1 lib/cucumber/runtime/for_programming_languages.rb
cucumber-9.0.0 lib/cucumber/runtime/for_programming_languages.rb
rubypitaya-3.12.5 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/runtime/for_programming_languages.rb
rubypitaya-3.12.4 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/runtime/for_programming_languages.rb
rubypitaya-3.12.3 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/runtime/for_programming_languages.rb
rubypitaya-3.12.2 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/runtime/for_programming_languages.rb
cucumber-8.0.0 lib/cucumber/runtime/for_programming_languages.rb
cucumber-8.0.0.rc.1 lib/cucumber/runtime/for_programming_languages.rb
phillipug-foodie-0.1.0 .vendor/ruby/3.0.0/gems/cucumber-7.1.0/lib/cucumber/runtime/for_programming_languages.rb
cucumber-7.1.0 lib/cucumber/runtime/for_programming_languages.rb
cucumber-7.0.0 lib/cucumber/runtime/for_programming_languages.rb
cucumber-6.1.0 lib/cucumber/runtime/for_programming_languages.rb
cucumber-6.0.0 lib/cucumber/runtime/for_programming_languages.rb
cucumber-5.3.0 lib/cucumber/runtime/for_programming_languages.rb
cucumber-5.2.0 lib/cucumber/runtime/for_programming_languages.rb
cucumber-5.1.3 lib/cucumber/runtime/for_programming_languages.rb
cucumber-5.1.2 lib/cucumber/runtime/for_programming_languages.rb
cucumber-5.1.1 lib/cucumber/runtime/for_programming_languages.rb