PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/tutorial/cecil/JVM/root2.e

http://github.com/tybor/Liberty
Specman e | 23 lines | 17 code | 5 blank | 1 comment | 0 complexity | 87c497d846adca57b18bde88a234a6d0 MD5 | raw file
 1class ROOT2
 2
 3creation {ANY}
 4	make
 5
 6feature {ANY}
 7	make is
 8			-- Dummy root procedure to make some live code.
 9		do
10			put_string(get_string)
11		end
12
13	get_string: STRING is
14		do
15			Result := "Hi from ROOT2%N"
16		end
17
18	put_string (s: STRING) is
19		do
20			io.put_string(s)
21		end
22
23end -- class ROOT2