Sha256: a771d73b90973efa3a5256007d7186903d5995ad183ae67968e27f257cc3b8d6

Contents?: true

Size: 359 Bytes

Versions: 1

Compression:

Stored size: 359 Bytes

Contents

class Trailblazer::V2_1::Activity < Module
  module Magnetic
    module Merge
      def merge!(merged)
        merged[:record].each do |key, args|
          dsl_method, *args = args

          return send( dsl_method, args[0], args[1], &args[2] ) if args[2]
          send( dsl_method, args[0], args[1] )
        end

        self
      end
    end
  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/magnetic/merge.rb