Class: Lilac::CLI::TemplateASTCache::RenderedTemplate

Inherits:
Struct
  • Object
show all
Defined in:
lib/lilac/cli/build/template_ast_cache.rb

Overview

A user-defined named template (from <template data-template="..."> in .lil source) ready to be injected as <template data-template="X"> into the page.

Instance Attribute Summary collapse

Instance Attribute Details

#htmlObject

Returns the value of attribute html

Returns:

  • (Object)

    the current value of html



20
21
22
# File 'lib/lilac/cli/build/template_ast_cache.rb', line 20

def html
  @html
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



20
21
22
# File 'lib/lilac/cli/build/template_ast_cache.rb', line 20

def name
  @name
end