Class: Avv2word::Configuration
- Inherits:
-
Object
- Object
- Avv2word::Configuration
- Defined in:
- lib/avv2word/configuration.rb
Instance Attribute Summary collapse
-
#custom_templates_path ⇒ Object
Returns the value of attribute custom_templates_path.
-
#custom_xslt_path ⇒ Object
Returns the value of attribute custom_xslt_path.
-
#default_templates_path ⇒ Object
Returns the value of attribute default_templates_path.
-
#default_xslt_path ⇒ Object
Returns the value of attribute default_xslt_path.
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/avv2word/configuration.rb', line 5 def initialize @default_templates_path = File.join(File.('../', __FILE__), 'templates') @custom_templates_path = File.join(File.('../', __FILE__), 'templates') @default_xslt_path = File.join(File.('../', __FILE__), 'xslt') @custom_xslt_path = File.join(File.('../', __FILE__), 'xslt') end |
Instance Attribute Details
#custom_templates_path ⇒ Object
Returns the value of attribute custom_templates_path.
3 4 5 |
# File 'lib/avv2word/configuration.rb', line 3 def custom_templates_path @custom_templates_path end |
#custom_xslt_path ⇒ Object
Returns the value of attribute custom_xslt_path.
3 4 5 |
# File 'lib/avv2word/configuration.rb', line 3 def custom_xslt_path @custom_xslt_path end |
#default_templates_path ⇒ Object
Returns the value of attribute default_templates_path.
3 4 5 |
# File 'lib/avv2word/configuration.rb', line 3 def default_templates_path @default_templates_path end |
#default_xslt_path ⇒ Object
Returns the value of attribute default_xslt_path.
3 4 5 |
# File 'lib/avv2word/configuration.rb', line 3 def default_xslt_path @default_xslt_path end |