Class: DustyRailsRenderer::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/dusty_rails_renderer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



100
101
102
103
104
105
106
107
108
# File 'lib/dusty_rails_renderer.rb', line 100

def initialize
  @dust_config_path = "config/dust_initializer.yml"
  @dust_js_library_path = "app/assets/javascripts/libraries/dust/dust-full.js"
  @dust_template_base_path = "app/assets/javascripts/dust/"
  @production = false	  
  @node_dust_compiler = false
  @dust_compiler_command = "dustc"
  @logging = false
end

Instance Attribute Details

#dust_compiler_commandObject

Returns the value of attribute dust_compiler_command.



98
99
100
# File 'lib/dusty_rails_renderer.rb', line 98

def dust_compiler_command
  @dust_compiler_command
end

#dust_config_pathObject

Returns the value of attribute dust_config_path.



92
93
94
# File 'lib/dusty_rails_renderer.rb', line 92

def dust_config_path
  @dust_config_path
end

#dust_js_library_pathObject

Returns the value of attribute dust_js_library_path.



93
94
95
# File 'lib/dusty_rails_renderer.rb', line 93

def dust_js_library_path
  @dust_js_library_path
end

#dust_template_base_pathObject

Returns the value of attribute dust_template_base_path.



95
96
97
# File 'lib/dusty_rails_renderer.rb', line 95

def dust_template_base_path
  @dust_template_base_path
end

#loggingObject

Returns the value of attribute logging.



97
98
99
# File 'lib/dusty_rails_renderer.rb', line 97

def logging
  @logging
end

#node_dust_compilerObject

Returns the value of attribute node_dust_compiler.



96
97
98
# File 'lib/dusty_rails_renderer.rb', line 96

def node_dust_compiler
  @node_dust_compiler
end

#productionObject

Returns the value of attribute production.



94
95
96
# File 'lib/dusty_rails_renderer.rb', line 94

def production
  @production
end