Class: Headless

Inherits:
Object show all
Defined in:
lib/renderers/headless/headless.rb

Overview

this class is aimed at headless rendering

Instance Method Summary collapse

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