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.



89
90
91
92
93
94
95
96
97
# File 'lib/dusty_rails_renderer.rb', line 89

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.



87
88
89
# File 'lib/dusty_rails_renderer.rb', line 87

def dust_compiler_command
  @dust_compiler_command
end

#dust_config_pathObject

Returns the value of attribute dust_config_path.



81
82
83
# File 'lib/dusty_rails_renderer.rb', line 81

def dust_config_path
  @dust_config_path
end

#dust_js_library_pathObject

Returns the value of attribute dust_js_library_path.



82
83
84
# File 'lib/dusty_rails_renderer.rb', line 82

def dust_js_library_path
  @dust_js_library_path
end

#dust_template_base_pathObject

Returns the value of attribute dust_template_base_path.



84
85
86
# File 'lib/dusty_rails_renderer.rb', line 84

def dust_template_base_path
  @dust_template_base_path
end

#loggingObject

Returns the value of attribute logging.



86
87
88
# File 'lib/dusty_rails_renderer.rb', line 86

def logging
  @logging
end

#node_dust_compilerObject

Returns the value of attribute node_dust_compiler.



85
86
87
# File 'lib/dusty_rails_renderer.rb', line 85

def node_dust_compiler
  @node_dust_compiler
end

#productionObject

Returns the value of attribute production.



83
84
85
# File 'lib/dusty_rails_renderer.rb', line 83

def production
  @production
end