Created
February 13, 2012 11:07
-
-
Save paneq/1816083 to your computer and use it in GitHub Desktop.
Challenge
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
(bob & cindy).is_ok? | |
(bob & cindy).receive_message do |user, message| | |
end | |
TestUser === bob.class | |
TestUserGroup === (bob & cindy).class |
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
[bob, cindy].each do |user| | |
user.is_ok? | |
user.receive_message do |msg| | |
end | |
end | |
TestUser === bob.class |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment