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, pos) ⇒ StepArgument

Returns a new instance of StepArgument.



5
6
7
# File 'lib/cucumber/step_argument.rb', line 5

def initialize(val, pos)
  @val, @pos = val, pos
end

Instance Attribute Details

#posObject (readonly)

Returns the value of attribute pos.



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

def pos
  @pos
end

#valObject (readonly)

Returns the value of attribute val.



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

def val
  @val
end