class Eddy::TransactionSets::TS850::Loops::PO1::Repeat
Public Class Methods
new(store)
click to toggle source
@param store [Eddy::Data::Store] @return [void]
Calls superclass method
Eddy::Models::Loop::Repeat::new
# File lib/definitions/transaction_sets/manual/850/loops/po1.rb, line 30 def initialize(store) @po1 = Eddy::Segments::PO1.new(store) @l_ctp = Eddy::TransactionSets::TS850::Loops::CTP::Base.new(store) @l_pid = Eddy::TransactionSets::TS850::Loops::PID::Base.new(store) @l_sac = Eddy::TransactionSets::TS850::Loops::SAC::Base.new(store) @txi = Eddy::Segments::TXI.new(store) @l_n9 = Eddy::TransactionSets::TS850::Loops::N9::Base.new(store) super( store, @po1, @l_ctp, @l_pid, @l_sac, @txi, @l_n9, ) end
Public Instance Methods
CTP() { |ctp| ... }
click to toggle source
(see Eddy::Segments::CTP
)
@yieldparam [Eddy::Segments::CTP] @return [Eddy::Segments::CTP]
# File lib/definitions/transaction_sets/manual/850/loops/po1.rb, line 61 def CTP() yield(@ctp) if block_given? return @ctp end
L_N9(&block)
click to toggle source
(see Eddy::TransactionSets::TS850::Loops::N9::Base
)
@yieldparam [Eddy::TransactionSets::TS850::Loops::N9::Repeat] @return [void]
# File lib/definitions/transaction_sets/manual/850/loops/po1.rb, line 105 def L_N9(&block) if block_given? @l_n9.repeat(&block) else raise Eddy::Errors::Error, "No block given in loop iteration" end return nil end
L_PID(&block)
click to toggle source
(see Eddy::TransactionSets::TS850::Loops::PID::Base
)
@yieldparam [Eddy::TransactionSets::TS850::Loops::PID::Repeat] @return [void]
# File lib/definitions/transaction_sets/manual/850/loops/po1.rb, line 70 def L_PID(&block) if block_given? @l_pid.repeat(&block) else raise Eddy::Errors::Error, "No block given in loop iteration" end return nil end
L_SAC(&block)
click to toggle source
(see Eddy::TransactionSets::TS850::Loops::SAC::Base
)
@yieldparam [Eddy::TransactionSets::TS850::Loops::SAC::Repeat] @return [void]
# File lib/definitions/transaction_sets/manual/850/loops/po1.rb, line 83 def L_SAC(&block) if block_given? @l_sac.repeat(&block) else raise Eddy::Errors::Error, "No block given in loop iteration" end return nil end
PO1() { |po1| ... }
click to toggle source
(see Eddy::Segments::PO1
)
@yieldparam [Eddy::Segments::PO1] @return [Eddy::Segments::PO1]
# File lib/definitions/transaction_sets/manual/850/loops/po1.rb, line 52 def PO1() yield(@po1) if block_given? return @po1 end
TXI() { |txi| ... }
click to toggle source
(see Eddy::Segments::TXI
)
@yieldparam [Eddy::Segments::TXI] @return [Eddy::Segments::TXI]
# File lib/definitions/transaction_sets/manual/850/loops/po1.rb, line 96 def TXI() yield(@txi) if block_given? return @txi end