Sha256: 2649e5f030b8464d1ada995916b8fea5f6d9d4473360f6da4446b719a5494b1a
Contents?: true
Size: 424 Bytes
Versions: 8
Compression:
Stored size: 424 Bytes
Contents
# frozen_string_literal: true # Rendering method here class Atome private def rendering(element,params, &user_proc) # params=instance_variable_get("@#{element}") render_engines = @atome[:renderers] render_engines.each do |render_engine| # puts "rendering : send('#{render_engine}_#{element}', #{params}, &user_proc)" send("#{render_engine}_#{element}", params, &user_proc) end end end
Version data entries
8 entries across 8 versions & 1 rubygems