Skip to content

Instantly share code, notes, and snippets.

@paneq
Created February 13, 2012 11:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save paneq/1816083 to your computer and use it in GitHub Desktop.
Save paneq/1816083 to your computer and use it in GitHub Desktop.
Challenge
(bob & cindy).is_ok?
(bob & cindy).receive_message do |user, message|
end
TestUser === bob.class
TestUserGroup === (bob & cindy).class
[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