class Eddy::TransactionSets::TS855::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/855/loops/po1.rb, line 28 def initialize(store) @po1 = Eddy::Segments::PO1.new(store) @l_pid = Eddy::TransactionSets::TS855::Loops::PID::Base.new(store) @l_ack = Eddy::TransactionSets::TS855::Loops::ACK::Base.new(store) super( store, @po1, @l_pid, @l_ack, ) end
Public Instance Methods
L_ACK(&block)
click to toggle source
(see Eddy::TransactionSets::TS855::Loops::ACK::Base
)
@yieldparam [Eddy::TransactionSets::TS855::Loops::ACK::Repeat] @return [void]
# File lib/definitions/transaction_sets/manual/855/loops/po1.rb, line 66 def L_ACK(&block) if block_given? @l_ack.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::TS855::Loops::PID::Base
)
@yieldparam [Eddy::TransactionSets::TS855::Loops::PID::Repeat] @return [void]
# File lib/definitions/transaction_sets/manual/855/loops/po1.rb, line 53 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
PO1() { |po1| ... }
click to toggle source
(see Eddy::Segments::PO1
)
@yieldparam [Eddy::Segments::PO1] @return [Eddy::Segments::PO1]
# File lib/definitions/transaction_sets/manual/855/loops/po1.rb, line 44 def PO1() yield(@po1) if block_given? return @po1 end