mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-10 21:58:48 +01:00
Tweak style.
This commit is contained in:
@ -1,5 +1,3 @@
|
||||
class Cthulu {
|
||||
message {
|
||||
return "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn"
|
||||
}
|
||||
message { "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" }
|
||||
}
|
||||
|
||||
@ -1,9 +1,7 @@
|
||||
import "cthulu" for Cthulu
|
||||
|
||||
class Lovecraft {
|
||||
say {
|
||||
return (new Cthulu).message
|
||||
}
|
||||
say { (new Cthulu).message }
|
||||
}
|
||||
|
||||
IO.print((new Lovecraft).say)
|
||||
|
||||
Reference in New Issue
Block a user