Sha256: 5a72aa35060708162bc49fd29d0483e2e5128e617828101c7d70b26284df21f1
Contents?: true
Size: 553 Bytes
Versions: 11
Compression:
Stored size: 553 Bytes
Contents
require "ginny" module Eddy module Build module Loop # Generate Ruby code for an EDI loop. # # @param summary [Eddy::Summary::Loop] # @param t_set_id [String] # @return [String] def self.render(summary, t_set_id) base = Eddy::Build::Loop::Base.new(summary, t_set_id).render() repeat = Eddy::Build::Loop::Repeat.new(summary, t_set_id).render() return Ginny.mod(("\n" + base + "\n\n" + repeat + "\n"), "Eddy", "TransactionSets", t_set_id, "Loops", summary.id) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems