Class: DustyRailsRenderer::Configuration
- Inherits:
-
Object
- Object
- DustyRailsRenderer::Configuration
- Defined in:
- lib/dusty_rails_renderer.rb
Instance Attribute Summary collapse
-
#dust_compiler_command ⇒ Object
Returns the value of attribute dust_compiler_command.
-
#dust_config_path ⇒ Object
Returns the value of attribute dust_config_path.
-
#dust_js_library_path ⇒ Object
Returns the value of attribute dust_js_library_path.
-
#dust_template_base_path ⇒ Object
Returns the value of attribute dust_template_base_path.
-
#logging ⇒ Object
Returns the value of attribute logging.
-
#node_dust_compiler ⇒ Object
Returns the value of attribute node_dust_compiler.
-
#production ⇒ Object
Returns the value of attribute production.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_command ⇒ Object
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_path ⇒ Object
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_path ⇒ Object
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_path ⇒ Object
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 |
#logging ⇒ Object
Returns the value of attribute logging.
97 98 99 |
# File 'lib/dusty_rails_renderer.rb', line 97 def logging @logging end |
#node_dust_compiler ⇒ Object
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 |
#production ⇒ Object
Returns the value of attribute production.
94 95 96 |
# File 'lib/dusty_rails_renderer.rb', line 94 def production @production end |