/tutorial/cecil/JVM/root3.e
http://github.com/tybor/Liberty · Specman e · 23 lines · 17 code · 5 blank · 1 comment · 0 complexity · a8d78a3ab5fff58064f72a16369d9479 MD5 · raw file
- class ROOT3
- creation {ANY}
- make
- feature {ANY}
- make is
- -- Dummy root procedure to make some live code.
- do
- put_string(get_string)
- end
- get_string: STRING is
- do
- Result := "Hi from ROOT3%N"
- end
- put_string (s: STRING) is
- do
- io.put_string(s)
- end
- end -- class ROOT3