Class: Nukumber::Model::Step

Inherits:
Object
  • Object
show all
Defined in:
lib/nukumber/model/step.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, line, keyword, element, args) ⇒ Step

Returns a new instance of Step.



8
9
10
# File 'lib/nukumber/model/step.rb', line 8

def initialize(name, line, keyword, element, args)
  @name, @line, @keyword, @element, @args = name, line, keyword, element, args
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



6
7
8
# File 'lib/nukumber/model/step.rb', line 6

def args
  @args
end

#elementObject (readonly)

Returns the value of attribute element.



6
7
8
# File 'lib/nukumber/model/step.rb', line 6

def element
  @element
end

#keywordObject (readonly)

Returns the value of attribute keyword.



6
7
8
# File 'lib/nukumber/model/step.rb', line 6

def keyword
  @keyword
end

#lineObject (readonly)

Returns the value of attribute line.



6
7
8
# File 'lib/nukumber/model/step.rb', line 6

def line
  @line
end

#nameObject (readonly)

Returns the value of attribute name.



6
7
8
# File 'lib/nukumber/model/step.rb', line 6

def name
  @name
end