Sha256: 4de22353ebede13cb35bca2b1a8ab39a4a07f9b9da2ac386581531b63373c088

Contents?: true

Size: 359 Bytes

Versions: 3

Compression:

Stored size: 359 Bytes

Contents

# frozen_string_literal: true

generator = Genesis.generator

generator.build_render_method(:html_type) do |params|
  send("html_#{params}", user_proc)
end

generator.build_render_method(:html_parents) do |parents_found|
  type_found = @atome[:type]
  parents_found.each do |parent_found|
    @html_object.send("append_#{type_found}", parent_found)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
atome-0.5.1.9 lib/atome/renderers/html/identity.rb
atome-0.5.1.4 lib/atome/renderers/html/identity.rb
atome-0.5.1.1 lib/atome/renderers/html/identity.rb