Sha256: 155957df9ae71314b3b955bf148d3c9acf8dd1e4a401dd684b6afc4918226a84

Contents?: true

Size: 518 Bytes

Versions: 4

Compression:

Stored size: 518 Bytes

Contents

module Trailblazer
  # Implementation module that can be passed to `Activity[]`.
  class Activity < Module
    def self.Railway(options={})
      Railway.new(Railway, options)
    end

    class Railway < Activity
      def self.config
        Path.config.merge(
          builder_class:  Magnetic::Builder::Railway,
          plus_poles:     Magnetic::Builder::Railway.default_plus_poles,
          extend:         [ DSL.def_dsl(:step), DSL.def_dsl(:fail), DSL.def_dsl(:pass) ],
        )
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trailblazer-activity-0.4.2 lib/trailblazer/activity/implementation/railway.rb
trailblazer-activity-0.4.1 lib/trailblazer/activity/implementation/railway.rb
trailblazer-activity-0.4.0 lib/trailblazer/activity/implementation/railway.rb
trailblazer-activity-0.4.o lib/trailblazer/activity/implementation/railway.rb