Class: Dynflow::Testing::DummyStep

Inherits:
Object
  • Object
show all
Extended by:
Mimic
Defined in:
lib/dynflow/testing/dummy_step.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Mimic

mimic!

Constructor Details

#initializeDummyStep

Returns a new instance of DummyStep.



10
11
12
13
# File 'lib/dynflow/testing/dummy_step.rb', line 10

def initialize
  @state = :pending
  @id    = Testing.get_id
end

Instance Attribute Details

#errorObject

Returns the value of attribute error.



7
8
9
# File 'lib/dynflow/testing/dummy_step.rb', line 7

def error
  @error
end

#idObject (readonly)

Returns the value of attribute id.



8
9
10
# File 'lib/dynflow/testing/dummy_step.rb', line 8

def id
  @id
end

#stateObject

Returns the value of attribute state.



7
8
9
# File 'lib/dynflow/testing/dummy_step.rb', line 7

def state
  @state
end

Instance Method Details

#saveObject



15
16
# File 'lib/dynflow/testing/dummy_step.rb', line 15

def save
end