Class: Lilac::CLI::SFC::Template

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

Overview

name is nil for anonymous templates.

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



26
27
28
# File 'lib/lilac/cli/build/sfc.rb', line 26

def body
  @body
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



26
27
28
# File 'lib/lilac/cli/build/sfc.rb', line 26

def name
  @name
end