Class: Ember::Handlebars::Config
- Inherits:
-
Object
- Object
- Ember::Handlebars::Config
- Defined in:
- lib/ember/handlebars/config.rb
Instance Attribute Summary collapse
-
#amd_namespace ⇒ Object
Returns the value of attribute amd_namespace.
-
#ember_template ⇒ Object
Returns the value of attribute ember_template.
-
#output_type ⇒ Object
Returns the value of attribute output_type.
-
#precompile ⇒ Object
Returns the value of attribute precompile.
-
#raw_template_namespace ⇒ Object
Returns the value of attribute raw_template_namespace.
-
#templates_path_separator ⇒ Object
Returns the value of attribute templates_path_separator.
-
#templates_root ⇒ Object
Returns the value of attribute templates_root.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
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_namespace ⇒ Object
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_template ⇒ Object
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_type ⇒ Object
Returns the value of attribute output_type.
4 5 6 |
# File 'lib/ember/handlebars/config.rb', line 4 def output_type @output_type end |
#precompile ⇒ Object
Returns the value of attribute precompile.
4 5 6 |
# File 'lib/ember/handlebars/config.rb', line 4 def precompile @precompile end |
#raw_template_namespace ⇒ Object
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_separator ⇒ Object
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_root ⇒ Object
Returns the value of attribute templates_root.
4 5 6 |
# File 'lib/ember/handlebars/config.rb', line 4 def templates_root @templates_root end |