Sha256: 197494a7f3d94b08fe521867ec7ccd95012f5cb3949b34145719045c0d67bea1

Contents?: true

Size: 331 Bytes

Versions: 84

Compression:

Stored size: 331 Bytes

Contents

# frozen_string_literal: true
# add renderer html to atome

# headless rendering for atome
class Atome
  def headless(_val = nil); end
end

#  this class is aimed at headless rendering
class Headless

  def initialize(id_found, current_atome)
    @element ||= self
    @id = id_found
    @original_atome = current_atome
  end

end

Version data entries

84 entries across 84 versions & 1 rubygems

Version Path
atome-0.5.7.6.5 lib/renderers/headless/headless.rb
atome-0.5.7.6.0 lib/renderers/headless/headless.rb
atome-0.5.7.5.9 lib/renderers/headless/headless.rb
atome-0.5.7.5.4 lib/renderers/headless/headless.rb
atome-0.5.7.5.3 lib/renderers/headless/headless.rb
atome-0.5.7.5.1 lib/renderers/headless/headless.rb
atome-0.5.7.4.8 lib/renderers/headless/headless.rb
atome-0.5.7.4.7 lib/renderers/headless/headless.rb
atome-0.5.7.4.6 lib/renderers/headless/headless.rb
atome-0.5.7.4.3 lib/renderers/headless/headless.rb
atome-0.5.7.4.2 lib/renderers/headless/headless.rb
atome-0.5.7.3.9 lib/renderers/headless/headless.rb
atome-0.5.7.3.6 lib/renderers/headless/headless.rb
atome-0.5.7.3.5 lib/renderers/headless/headless.rb
atome-0.5.7.3.3 lib/renderers/headless/headless.rb
atome-0.5.7.3.2 lib/renderers/headless/headless.rb
atome-0.5.7.3.1 lib/renderers/headless/headless.rb
atome-0.5.7.3.0 lib/renderers/headless/headless.rb
atome-0.5.7.1.8 lib/renderers/headless/headless.rb
atome-0.5.7.1.7 lib/renderers/headless/headless.rb