Class: RSpecGherkin::Builder::Step

Inherits:
Struct
  • Object
show all
Defined in:
lib/rspec-gherkin/builder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



61
62
63
# File 'lib/rspec-gherkin/builder.rb', line 61

def description
  @description
end

#extra_argsObject

Returns the value of attribute extra_args

Returns:

  • (Object)

    the current value of extra_args



61
62
63
# File 'lib/rspec-gherkin/builder.rb', line 61

def extra_args
  @extra_args
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



61
62
63
# File 'lib/rspec-gherkin/builder.rb', line 61

def line
  @line
end

Instance Method Details

#split(*args) ⇒ Object

1.9.2 support hack



63
64
65
# File 'lib/rspec-gherkin/builder.rb', line 63

def split(*args)
  self.to_s.split(*args)
end

#to_sObject



67
68
69
# File 'lib/rspec-gherkin/builder.rb', line 67

def to_s
  description
end