Sha256: 4d39aa78d1003881f7eb703d25e38cd697f2ca092fcdaf89f0991894b52ae3c1

Contents?: true

Size: 1.12 KB

Versions: 4

Compression:

Stored size: 1.12 KB

Contents

module Eddy
  module TransactionSets
    module TS850
      module Loops
        module SAC

          # ### Loop Summary:
          #
          # - Repeat: 25
          # - Components:
          #   - SAC
          class Base < Eddy::Models::Loop::Base
            # @param store [Eddy::Data::Store]
            # @return [void]
            def initialize(store)
              @repeat_limit = 25
              super(store, Repeat)
            end
          end

          # (see Eddy::TransactionSets::TS850::Loops::SAC::Base)
          class Repeat < Eddy::Models::Loop::Repeat
            # @param store [Eddy::Data::Store]
            # @return [void]
            def initialize(store)
              @sac = Eddy::Segments::SAC.new(store)
              super(
                store,
                @sac,
              )
            end

            # (see Eddy::Segments::SAC)
            #
            # @yieldparam [Eddy::Segments::SAC]
            # @return [Eddy::Segments::SAC]
            def SAC()
              yield(@sac) if block_given?
              return @sac
            end
          end

        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eddy-0.10.0 lib/definitions/transaction_sets/manual/850/loops/sac.rb
eddy-0.9.2 lib/definitions/transaction_sets/manual/850/loops/sac.rb
eddy-0.9.1 lib/definitions/transaction_sets/manual/850/loops/sac.rb
eddy-0.9.0 lib/definitions/transaction_sets/manual/850/loops/sac.rb