Exception: UnSupportedLanguage

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/translator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = '') ⇒ UnSupportedLanguage

Returns a new instance of UnSupportedLanguage.



6
7
8
# File 'lib/translator.rb', line 6

def initialize(message='')
  @msg = "Language pair not supported yet."
end

Instance Attribute Details

#msgObject (readonly)

Returns the value of attribute msg.



5
6
7
# File 'lib/translator.rb', line 5

def msg
  @msg
end