Exception: Applocale::ErrorUtil::SheetNotExist

Inherits:
CommonError
  • Object
show all
Defined in:
lib/applocale/Util/error_util.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from CommonError

#raise, #to_warn

Constructor Details

#initialize(sheetname) ⇒ SheetNotExist

Returns a new instance of SheetNotExist.



58
59
60
# File 'lib/applocale/Util/error_util.rb', line 58

def initialize(sheetname)
  @sheetname = sheetname
end

Instance Attribute Details

#sheetnameObject

Returns the value of attribute sheetname.



57
58
59
# File 'lib/applocale/Util/error_util.rb', line 57

def sheetname
  @sheetname
end

Instance Method Details

#messageObject



61
62
63
# File 'lib/applocale/Util/error_util.rb', line 61

def message
  "Can't find sheet: #{self.sheetname}"
end