Class: Avv2word::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/avv2word/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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.expand_path('../', __FILE__), 'templates')
  @custom_templates_path = File.join(File.expand_path('../', __FILE__), 'templates')
  @default_xslt_path = File.join(File.expand_path('../', __FILE__), 'xslt')
  @custom_xslt_path = File.join(File.expand_path('../', __FILE__), 'xslt')
end

Instance Attribute Details

#custom_templates_pathObject

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_pathObject

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_pathObject

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_pathObject

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