Class: Cucumber::Runtime::ForProgrammingLanguages
- Inherits:
-
Object
- Object
- Cucumber::Runtime::ForProgrammingLanguages
- 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
-
#support_code ⇒ Object
readonly
Returns the value of attribute support_code.
Instance Method Summary collapse
-
#initialize(support_code, user_interface) ⇒ ForProgrammingLanguages
constructor
A new instance of ForProgrammingLanguages.
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_code ⇒ Object (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 |