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 handful 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.



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

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

Instance Attribute Details

#support_codeObject (readonly)

Returns the value of attribute support_code.



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

def support_code
  @support_code
end