class Eddy::TransactionSets::TS846::Loops::LIN::Repeat
Public Class Methods
@param store [Eddy::Data::Store] @return [void]
Eddy::Models::Loop::Repeat::new
# File lib/definitions/transaction_sets/manual/846/loops/lin.rb, line 33 def initialize(store) @lin = Eddy::Segments::LIN.new(store) @pid = Eddy::Segments::PID.new(store) @dtm = Eddy::Segments::DTM.new(store) @ctp = Eddy::Segments::CTP.new(store) @ref = Eddy::Segments::REF.new(store) @sdq = Eddy::Segments::SDQ.new(store) @l_sln = Eddy::TransactionSets::TS846::Loops::SLN::Base.new(store) @l_qty = Eddy::TransactionSets::TS846::Loops::QTY::Base.new(store) @l_n1 = Eddy::TransactionSets::TS846::Loops::N1::Base.new(store) super( store, @lin, @pid, @dtm, @ctp, @ref, @sdq, @l_sln, @l_qty, @l_n1, ) end
Public Instance Methods
(see Eddy::Segments::CTP
)
@yieldparam [Eddy::Segments::CTP] @return [Eddy::Segments::CTP]
# File lib/definitions/transaction_sets/manual/846/loops/lin.rb, line 88 def CTP() yield(@ctp) if block_given? return @ctp end
(see Eddy::Segments::DTM
)
@yieldparam [Eddy::Segments::DTM] @return [Eddy::Segments::DTM]
# File lib/definitions/transaction_sets/manual/846/loops/lin.rb, line 79 def DTM() yield(@dtm) if block_given? return @dtm end
(see Eddy::Segments::LIN
)
@yieldparam [Eddy::Segments::LIN] @return [Eddy::Segments::LIN]
# File lib/definitions/transaction_sets/manual/846/loops/lin.rb, line 61 def LIN() yield(@lin) if block_given? return @lin end
(see Eddy::TransactionSets::TS846::Loops::N1::Base
)
@yieldparam [Eddy::TransactionSets::TS846::Loops::N1::Repeat] @return [void]
# File lib/definitions/transaction_sets/manual/846/loops/lin.rb, line 141 def L_N1(&block) if block_given? @l_n1.repeat(&block) else raise Eddy::Errors::Error, "No block given in loop iteration" end return nil end
(see Eddy::TransactionSets::TS846::Loops::QTY::Base
)
@yieldparam [Eddy::TransactionSets::TS846::Loops::QTY::Repeat] @return [void]
# File lib/definitions/transaction_sets/manual/846/loops/lin.rb, line 128 def L_QTY(&block) if block_given? @l_qty.repeat(&block) else raise Eddy::Errors::Error, "No block given in loop iteration" end return nil end
(see Eddy::TransactionSets::TS846::Loops::SLN::Base
)
@yieldparam [Eddy::TransactionSets::TS846::Loops::SLN::Repeat] @return [void]
# File lib/definitions/transaction_sets/manual/846/loops/lin.rb, line 115 def L_SLN(&block) if block_given? @l_sln.repeat(&block) else raise Eddy::Errors::Error, "No block given in loop iteration" end return nil end
(see Eddy::Segments::PID
)
@yieldparam [Eddy::Segments::PID] @return [Eddy::Segments::PID]
# File lib/definitions/transaction_sets/manual/846/loops/lin.rb, line 70 def PID() yield(@pid) if block_given? return @pid end
(see Eddy::Segments::REF
)
@yieldparam [Eddy::Segments::REF] @return [Eddy::Segments::REF]
# File lib/definitions/transaction_sets/manual/846/loops/lin.rb, line 97 def REF() yield(@ref) if block_given? return @ref end
(see Eddy::Segments::SDQ
)
@yieldparam [Eddy::Segments::SDQ] @return [Eddy::Segments::SDQ]
# File lib/definitions/transaction_sets/manual/846/loops/lin.rb, line 106 def SDQ() yield(@sdq) if block_given? return @sdq end