-
-
Save ged/1314409 to your computer and use it in GitHub Desktop.
Example class using Celluloid::Actor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Sheen | |
include Celluloid::Actor | |
def initialize(name) | |
@name = name | |
end | |
def current_status | |
"#{@name} is winning!" | |
end | |
end |
Haha, nevermind. I hadn't read the article that followed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You mean "include Celluloid::Actor", right?