Sha256: 7340b1f6b3a89bbc8b1f11d945ab97b0e3f5c168251a88f5fe62827097c83cfc
Contents?: true
Size: 895 Bytes
Versions: 3
Compression:
Stored size: 895 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, :ask, :puts, :features_paths, :step_match def_delegators :@support_code, :invoke_dynamic_steps, :invoke_dynamic_step end end end
Version data entries
3 entries across 3 versions & 1 rubygems