/tutorial/get_text/simple/example.e

http://github.com/tybor/Liberty · Specman e · 18 lines · 14 code · 4 blank · 0 comment · 0 complexity · 0357c0045dbb1ad7028fe43ebe70e415 MD5 · raw file

  1. class EXAMPLE
  2. create {ANY}
  3. make
  4. feature {}
  5. make
  6. do
  7. io.put_string(translator.translation("Hello world!"))
  8. io.put_new_line
  9. end
  10. translator: TRANSLATOR
  11. once
  12. create Result.init
  13. end
  14. end -- class EXAMPLE