Class: Cucumber::StepArgument

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber/step_argument.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_offsetObject (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

#valObject (readonly)

Returns the value of attribute val.



3
4
5
# File 'lib/cucumber/step_argument.rb', line 3

def val
  @val
end