Exception: Applocale::ErrorUtil::SheetNotExist
- Inherits:
-
CommonError
- Object
- StandardError
- CommonError
- Applocale::ErrorUtil::SheetNotExist
- Defined in:
- lib/applocale/Util/error_util.rb
Instance Attribute Summary collapse
-
#sheetname ⇒ Object
Returns the value of attribute sheetname.
Instance Method Summary collapse
-
#initialize(sheetname) ⇒ SheetNotExist
constructor
A new instance of SheetNotExist.
- #message ⇒ Object
Methods inherited from CommonError
Constructor Details
#initialize(sheetname) ⇒ SheetNotExist
Returns a new instance of SheetNotExist.
46 47 48 |
# File 'lib/applocale/Util/error_util.rb', line 46 def initialize(sheetname) @sheetname = sheetname end |
Instance Attribute Details
#sheetname ⇒ Object
Returns the value of attribute sheetname.
45 46 47 |
# File 'lib/applocale/Util/error_util.rb', line 45 def sheetname @sheetname end |
Instance Method Details
#message ⇒ Object
49 50 51 |
# File 'lib/applocale/Util/error_util.rb', line 49 def "Can't find sheet: #{self.sheetname}" end |