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.



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

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

Instance Attribute Details

#msgObject (readonly)

Returns the value of attribute msg.



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

def msg
  @msg
end