class Eddy::TransactionSets::TS810::Loops::IT1::Repeat

(see Eddy::TransactionSets::TS810::Loops::IT1::Base)

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/810/loops/it1.rb, line 29
def initialize(store)
  @it1 = Eddy::Segments::IT1.new(store)
  @ctp = Eddy::Segments::CTP.new(store)
  @l_pid = Eddy::TransactionSets::TS810::Loops::PID::Base.new(store)
  @l_sac = Eddy::TransactionSets::TS810::Loops::SAC::Base.new(store)
  super(
    store,
    @it1,
    @ctp,
    @l_pid,
    @l_sac,
  )
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/810/loops/it1.rb, line 56
def CTP()
  yield(@ctp) if block_given?
  return @ctp
end
IT1() { |it1| ... } click to toggle source

(see Eddy::Segments::IT1)

@yieldparam [Eddy::Segments::IT1] @return [Eddy::Segments::IT1]

# File lib/definitions/transaction_sets/manual/810/loops/it1.rb, line 47
def IT1()
  yield(@it1) if block_given?
  return @it1
end
L_PID(&block) click to toggle source

(see Eddy::TransactionSets::TS810::Loops::PID::Base)

@yieldparam [Eddy::TransactionSets::TS810::Loops::PID::Repeat] @return [void]

# File lib/definitions/transaction_sets/manual/810/loops/it1.rb, line 65
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::TS810::Loops::SAC::Base)

@yieldparam [Eddy::TransactionSets::TS810::Loops::SAC::Repeat] @return [void]

# File lib/definitions/transaction_sets/manual/810/loops/it1.rb, line 78
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