Sha256: bf5b4d498125cdaec7f44875872788205dd9250d61a26da07e96354ac9804aed

Contents?: true

Size: 335 Bytes

Versions: 3

Compression:

Stored size: 335 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|
      send("#{render_engine}_#{element}", params, &user_proc)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
atome-0.5.3.8.1 lib/atome/renderers/renderer.rb
atome-0.5.3.8.0 lib/atome/renderers/renderer.rb
atome-0.5.3.7.8 lib/atome/renderers/renderer.rb