Class: Rescpos::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
8
9
# File 'lib/rescpos/configuration.rb', line 5

def initialize
  if Object.const_defined?(:Rails)
    @template_path = File.join(Rails.root, "app/escposes")
  end
end

Instance Attribute Details

#template_pathObject

Returns the value of attribute template_path.



3
4
5
# File 'lib/rescpos/configuration.rb', line 3

def template_path
  @template_path
end