lib/cucumber/runtime/for_programming_languages.rb in cucumber-3.2.0 vs lib/cucumber/runtime/for_programming_languages.rb in cucumber-4.0.0.rc.1
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
require 'forwardable'
-require 'cucumber/core/ast/doc_string'
+require 'cucumber/core/test/doc_string'
module Cucumber
class Runtime
# This is what a programming language will consider to be a runtime.
#
@@ -13,10 +13,11 @@
extend Forwardable
attr_reader :support_code
def initialize(support_code, user_interface)
- @support_code, @user_interface = support_code, user_interface
+ @support_code = support_code
+ @user_interface = user_interface
end
def_delegators :@user_interface,
:embed,
:ask,