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