Class: Ember::Emblem::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



11
12
13
14
15
16
17
18
# File 'lib/ember/emblem/config.rb', line 11

def initialize
  self.precompile = true
  self.ember_template = 'Handlebars'
  self.output_type = :global
  self.amd_namespace = nil
  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/emblem/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/emblem/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/emblem/config.rb', line 4

def output_type
  @output_type
end

#precompileObject

Returns the value of attribute precompile.



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

def precompile
  @precompile
end

#templates_path_separatorObject

Returns the value of attribute templates_path_separator.



4
5
6
# File 'lib/ember/emblem/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/emblem/config.rb', line 4

def templates_root
  @templates_root
end