Class: Ember::Handlebars::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/ember/handlebars/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



12
13
14
15
16
17
18
19
20
# File 'lib/ember/handlebars/config.rb', line 12

def initialize
  self.precompile = true
  self.ember_template = 'HTMLBars'
  self.output_type = :global
  self.amd_namespace = nil
  self.raw_template_namespace = 'JST'
  self.templates_root = 'templates'
  self.templates_path_separator = '/'
end

Instance Attribute Details

#amd_namespaceObject

Returns the value of attribute amd_namespace.



4
5
6
# File 'lib/ember/handlebars/config.rb', line 4

def amd_namespace
  @amd_namespace
end

#ember_templateObject

Returns the value of attribute ember_template.



4
5
6
# File 'lib/ember/handlebars/config.rb', line 4

def ember_template
  @ember_template
end

#output_typeObject

Returns the value of attribute output_type.



4
5
6
# File 'lib/ember/handlebars/config.rb', line 4

def output_type
  @output_type
end

#precompileObject

Returns the value of attribute precompile.



4
5
6
# File 'lib/ember/handlebars/config.rb', line 4

def precompile
  @precompile
end

#raw_template_namespaceObject

Returns the value of attribute raw_template_namespace.



4
5
6
# File 'lib/ember/handlebars/config.rb', line 4

def raw_template_namespace
  @raw_template_namespace
end

#templates_path_separatorObject

Returns the value of attribute templates_path_separator.



4
5
6
# File 'lib/ember/handlebars/config.rb', line 4

def templates_path_separator
  @templates_path_separator
end

#templates_rootObject

Returns the value of attribute templates_root.



4
5
6
# File 'lib/ember/handlebars/config.rb', line 4

def templates_root
  @templates_root
end