Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save michaelklishin/1020336 to your computer and use it in GitHub Desktop.

Select an option

Save michaelklishin/1020336 to your computer and use it in GitHub Desktop.
class Message
#
# API
#
# ...
def to_s
# returns textual or binary representation of the message as a String instance
end
# ...
end
exchange.publish(Message.new)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment