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.
58 59 60 |
# File 'lib/applocale/Util/error_util.rb', line 58 def initialize(sheetname) @sheetname = sheetname end |
Instance Attribute Details
#sheetname ⇒ Object
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
#message ⇒ Object
61 62 63 |
# File 'lib/applocale/Util/error_util.rb', line 61 def "Can't find sheet: #{self.sheetname}" end |