Exception: UnSupportedLanguage
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- UnSupportedLanguage
- Defined in:
- lib/translator.rb
Instance Attribute Summary collapse
-
#msg ⇒ Object
readonly
Returns the value of attribute msg.
Instance Method Summary collapse
-
#initialize(message = '') ⇒ UnSupportedLanguage
constructor
A new instance of UnSupportedLanguage.
Constructor Details
#initialize(message = '') ⇒ UnSupportedLanguage
Returns a new instance of UnSupportedLanguage.
6 7 8 |
# File 'lib/translator.rb', line 6 def initialize(='') @msg = "Language pair not supported yet." end |
Instance Attribute Details
#msg ⇒ Object (readonly)
Returns the value of attribute msg.
5 6 7 |
# File 'lib/translator.rb', line 5 def msg @msg end |