Class: Headless
Overview
this class is aimed at headless rendering
Instance Method Summary collapse
-
#initialize(id_found, current_atome) ⇒ Headless
constructor
A new instance of Headless.
Constructor Details
#initialize(id_found, current_atome) ⇒ Headless
Returns a new instance of Headless.
12 13 14 15 16 |
# File 'lib/renderers/headless/headless.rb', line 12 def initialize(id_found, current_atome) @element ||= self @id = id_found @original_atome = current_atome end |