Class: StepDef

Inherits:
Def
  • Object
show all
Defined in:
lib/runtime.rb

Instance Attribute Summary collapse

Attributes inherited from Def

#ast

Instance Method Summary collapse

Constructor Details

#initialize(ast, direction, message) ⇒ StepDef

Returns a new instance of StepDef.



179
180
181
182
183
184
# File 'lib/runtime.rb', line 179

def initialize ast, direction, message
  super ast
  @direction = direction
  @message = message
  @doc = ast.doc
end

Instance Attribute Details

#directionObject (readonly)

Returns the value of attribute direction.



177
178
179
# File 'lib/runtime.rb', line 177

def direction
  @direction
end

#docObject (readonly)

Returns the value of attribute doc.



177
178
179
# File 'lib/runtime.rb', line 177

def doc
  @doc
end

#messageObject (readonly)

Returns the value of attribute message.



177
178
179
# File 'lib/runtime.rb', line 177

def message
  @message
end