Sha256: a08eaa86e2c6a37a7ff57779f59d707ea7e16398d5a1bee6a99847fe255317a6

Contents?: true

Size: 411 Bytes

Versions: 6

Compression:

Stored size: 411 Bytes

Contents

module Trailblazer
  module Operation::Railway
    def self.fail!     ; Activity::Left  end
    def self.pass!     ; Activity::Right end
    def self.fail_fast!; Activity::FastTrack::FailFast end
    def self.pass_fast!; Activity::FastTrack::PassFast end

    module End
      FailFast = Class.new(Operation::Railway::End::Failure)
      PassFast = Class.new(Operation::Railway::End::Success)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
trailblazer-operation-0.4.1 lib/trailblazer/operation/railway/fast_track.rb
trailblazer-operation-0.4.0 lib/trailblazer/operation/railway/fast_track.rb
trailblazer-operation-0.3.1 lib/trailblazer/operation/railway/fast_track.rb
trailblazer-operation-0.3.0 lib/trailblazer/operation/railway/fast_track.rb
trailblazer-operation-0.2.5 lib/trailblazer/operation/railway/fast_track.rb
trailblazer-operation-0.2.4 lib/trailblazer/operation/railway/fast_track.rb