Sha256: 293825d4f26bfa3101d9766e44caf461cf742d350794691359889af7dc7cbeaa

Contents?: true

Size: 395 Bytes

Versions: 9

Compression:

Stored size: 395 Bytes

Contents

module Amazon
  class MadeiraFlow < ::Cascadence::Flow
    cascading_order :step1, :step2, :step3

    def initialize(state)
      self.state = state || "initialized"
      puts state
    end

    def step1
      self.state += "1"
      puts state
    end

    def step2
      self.state += "2"
      puts state
    end

    def step3
      self.state += "3"
      puts state
    end

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cascadence-0.4.5 fixtures/amazon/madeira_flow.rb
cascadence-0.4.4 fixtures/amazon/madeira_flow.rb
cascadence-0.4.3 fixtures/amazon/madeira_flow.rb
cascadence-0.3.0 fixtures/amazon/madeira_flow.rb
cascadence-0.2.4 fixtures/amazon/madeira_flow.rb
cascadence-0.2.3 fixtures/amazon/madeira_flow.rb
cascadence-0.2.2 fixtures/amazon/madeira_flow.rb
cascadence-0.2.1 fixtures/amazon/madeira_flow.rb
cascadence-0.2.0 fixtures/amazon/madeira_flow.rb