Module: Eddy::Build::Loop
- Defined in:
- lib/eddy/build/loop/base.rb,
lib/eddy/build/loop/render.rb,
lib/eddy/build/loop/repeat.rb
Defined Under Namespace
Class Method Summary collapse
-
.render(summary, t_set_id) ⇒ String
Generate Ruby code for an EDI loop.
Class Method Details
.render(summary, t_set_id) ⇒ String
Generate Ruby code for an EDI loop.
11 12 13 14 15 |
# File 'lib/eddy/build/loop/render.rb', line 11 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 |