forked from Mirror/wren
Tweak style.
This commit is contained in:
@ -1,5 +1,3 @@
|
|||||||
class Cthulu {
|
class Cthulu {
|
||||||
message {
|
message { "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" }
|
||||||
return "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,9 +1,7 @@
|
|||||||
import "cthulu" for Cthulu
|
import "cthulu" for Cthulu
|
||||||
|
|
||||||
class Lovecraft {
|
class Lovecraft {
|
||||||
say {
|
say { (new Cthulu).message }
|
||||||
return (new Cthulu).message
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
IO.print((new Lovecraft).say)
|
IO.print((new Lovecraft).say)
|
||||||
|
|||||||
Reference in New Issue
Block a user