Package fr :: Package umlv :: Package python :: Package demo :: Module HelloWorld :: Class HelloWorld
[hide private]
[frames] | no frames]

Class HelloWorld

source code

Instance Methods [hide private]
  __init__(self, firstName)
  __repr__(self)
  translate(self, language)
Convert the string Hello in the desired language.
String lang(self)
Return the user lang of this computer.

Method Details [hide private]

__init__(self, firstName)
(Constructor)

source code 
None

__repr__(self)
(Representation operator)

source code 
None

translate(self, language)

source code 
Convert the string Hello in the desired language.
Parameters:
  • language (string) - The desired language.
Raises:
  • NotImplementedError - Not yet implemented.

lang(self)

source code 
Return the user lang of this computer. Default language is english if the variable LANG is not specified.
Returns: String
A String representing the lang (en, fr...).