Class: Gherkin::Formatter::Argument
- Defined in:
- lib/gherkin/formatter/argument.rb
Instance Attribute Summary collapse
-
#offset ⇒ Object
readonly
Returns the value of attribute offset.
-
#val ⇒ Object
readonly
Returns the value of attribute val.
Instance Method Summary collapse
-
#initialize(offset, val) ⇒ Argument
constructor
Creates a new Argument that starts at character offset
offset
with valueval
.
Methods inherited from Hashable
Constructor Details
#initialize(offset, val) ⇒ Argument
Creates a new Argument that starts at character offset offset
with value val
11 12 13 |
# File 'lib/gherkin/formatter/argument.rb', line 11 def initialize(offset, val) @offset, @val = offset, val end |
Instance Attribute Details
#offset ⇒ Object (readonly)
Returns the value of attribute offset.
8 9 10 |
# File 'lib/gherkin/formatter/argument.rb', line 8 def offset @offset end |
#val ⇒ Object (readonly)
Returns the value of attribute val.
8 9 10 |
# File 'lib/gherkin/formatter/argument.rb', line 8 def val @val end |