Sha256: 16b63244e58f4e928713279a6fed7092336d47476cfe9b795a88d89a543b0dba

Contents?: true

Size: 877 Bytes

Versions: 1

Compression:

Stored size: 877 Bytes

Contents

module Trailblazer::V2_1
  class Activity < Module
    def self.Path(options={})
      Activity::Path.new(Path, options)
    end

    # Implementation module that can be passed to `Activity[]`.
    class Path < Activity
      # Default variables, called in {Activity::initialize}.
      def self.config
        {
          builder_class:    Magnetic::Builder::Path, # we use the Activity-based Normalizer
          normalizer_class: Magnetic::Normalizer,
          default_outputs:  Magnetic::Builder::Path.default_outputs, # binary outputs

          extend:           [
            # DSL.def_dsl(:task, Magnetic::Builder::Path,    :PassPolarizations),
            DSL.def_dsl(:_end, Magnetic::Builder::Path,    :EndEventPolarizations),
            DSL.def_dsl(:task, Magnetic::Builder::Railway, :PassPolarizations),
          ],
        }
      end
    end # Path
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trailblazer-future-2.1.0.rc1 lib/trailblazer/v2_1/activity/dsl/strategy/path.rb