Sha256: 8fae1895388fe9225caa8ab81bf83356def3ee6ae42e763c94a39a90deea74a6
Contents?: true
Size: 493 Bytes
Versions: 11
Compression:
Stored size: 493 Bytes
Contents
# frozen_string_literal: true # Rendering method here class Atome # private def render(element, params, &user_proc) render_engines = @renderers || [] render_engines.each do |render_engine| # in case we found an exception the method call will have the form, example for color top : html_color_top exception_found = "#{Universe.get_atomes_specificities[type][element]}" send("#{render_engine}_#{exception_found}#{element}", params, &user_proc) end end end
Version data entries
11 entries across 11 versions & 1 rubygems