Sha256: a31bb5e6f86d12c6540e140c224bbc84b06126619c575dfba9f664cbcf1d45fa

Contents?: true

Size: 1.13 KB

Versions: 11

Compression:

Stored size: 1.13 KB

Contents

module Eddy
  module TransactionSets
    # Namespace for Transaction Set 810 and its loops.
    module TS810
      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::TS810::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

11 entries across 11 versions & 1 rubygems

Version Path
eddy-0.10.0 lib/definitions/transaction_sets/manual/810/loops/sac.rb
eddy-0.9.2 lib/definitions/transaction_sets/manual/810/loops/sac.rb
eddy-0.9.1 lib/definitions/transaction_sets/manual/810/loops/sac.rb
eddy-0.9.0 lib/definitions/transaction_sets/manual/810/loops/sac.rb
eddy-0.8.4 lib/definitions/transaction_sets/manual/810/loops/sac.rb
eddy-0.8.3 lib/definitions/transaction_sets/manual/810/loops/sac.rb
eddy-0.8.2 lib/definitions/transaction_sets/manual/810/loops/sac.rb
eddy-0.8.1 lib/definitions/transaction_sets/manual/810/loops/sac.rb
eddy-0.8.0 lib/definitions/transaction_sets/manual/810/loops/sac.rb
eddy-0.7.0 lib/definitions/transaction_sets/manual/810/loops/sac.rb
eddy-0.6.0 lib/definitions/transaction_sets/manual/810/loops/sac.rb