Class: Cucumber::Runtime::ForProgrammingLanguages

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/cucumber/runtime/for_programming_languages.rb

Overview

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(support_code, user_interface) ⇒ ForProgrammingLanguages

Returns a new instance of ForProgrammingLanguages



17
18
19
# File 'lib/cucumber/runtime/for_programming_languages.rb', line 17

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

Instance Attribute Details

#support_codeObject (readonly)

Returns the value of attribute support_code



15
16
17
# File 'lib/cucumber/runtime/for_programming_languages.rb', line 15

def support_code
  @support_code
end