Exception: WelltreatStoreFramework::StoreApp::TemplateNotFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/welltreat_store_framework/store_app.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_file) ⇒ TemplateNotFound

Returns a new instance of TemplateNotFound.



30
31
32
33
# File 'lib/welltreat_store_framework/store_app.rb', line 30

def initialize(_file)
  super "Template - #{_file} not found."
  self.file = _file
end

Instance Attribute Details

#fileObject

Returns the value of attribute file.



28
29
30
# File 'lib/welltreat_store_framework/store_app.rb', line 28

def file
  @file
end