Class: HamlCoffeeTemplate::Configuration
- Inherits:
-
Object
- Object
- HamlCoffeeTemplate::Configuration
- Defined in:
- lib/haml_coffee_template/configuration.rb
Instance Attribute Summary collapse
-
#coffee_script_compiler_options ⇒ Object
Returns the value of attribute coffee_script_compiler_options.
-
#haml_coffee_compiler_options ⇒ Object
Returns the value of attribute haml_coffee_compiler_options.
-
#haml_coffee_path ⇒ Object
Returns the value of attribute haml_coffee_path.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 10 |
# File 'lib/haml_coffee_template/configuration.rb', line 5 def initialize self.namespace = "window.JST" self. = {} self. = {} self.haml_coffee_path = File.("haml-coffee.js", __dir__) end |
Instance Attribute Details
#coffee_script_compiler_options ⇒ Object
Returns the value of attribute coffee_script_compiler_options.
3 4 5 |
# File 'lib/haml_coffee_template/configuration.rb', line 3 def @coffee_script_compiler_options end |
#haml_coffee_compiler_options ⇒ Object
Returns the value of attribute haml_coffee_compiler_options.
3 4 5 |
# File 'lib/haml_coffee_template/configuration.rb', line 3 def @haml_coffee_compiler_options end |
#haml_coffee_path ⇒ Object
Returns the value of attribute haml_coffee_path.
3 4 5 |
# File 'lib/haml_coffee_template/configuration.rb', line 3 def haml_coffee_path @haml_coffee_path end |
#namespace ⇒ Object
Returns the value of attribute namespace.
3 4 5 |
# File 'lib/haml_coffee_template/configuration.rb', line 3 def namespace @namespace end |