Class: Cucumber::StepArgument
Instance Attribute Summary collapse
-
#byte_offset ⇒ Object
readonly
Returns the value of attribute byte_offset.
-
#val ⇒ Object
readonly
Returns the value of attribute val.
Instance Method Summary collapse
-
#initialize(val, byte_offset) ⇒ StepArgument
constructor
A new instance of StepArgument.
Constructor Details
#initialize(val, byte_offset) ⇒ StepArgument
Returns a new instance of StepArgument.
5 6 7 |
# File 'lib/cucumber/step_argument.rb', line 5 def initialize(val, byte_offset) @val, @byte_offset = val, byte_offset end |
Instance Attribute Details
#byte_offset ⇒ Object (readonly)
Returns the value of attribute byte_offset.
3 4 5 |
# File 'lib/cucumber/step_argument.rb', line 3 def byte_offset @byte_offset end |
#val ⇒ Object (readonly)
Returns the value of attribute val.
3 4 5 |
# File 'lib/cucumber/step_argument.rb', line 3 def val @val end |