Class: Rescpos::Configuration
- Inherits:
-
Object
- Object
- Rescpos::Configuration
- Defined in:
- lib/rescpos/configuration.rb
Instance Attribute Summary collapse
-
#template_path ⇒ Object
Returns the value of attribute template_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 |
# 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_path ⇒ Object
Returns the value of attribute template_path.
3 4 5 |
# File 'lib/rescpos/configuration.rb', line 3 def template_path @template_path end |