Class: Slack::Messages::Message
- Inherits:
-
Hashie::Mash
- Object
- Hashie::Mash
- Slack::Messages::Message
- Defined in:
- lib/slack/messages/message.rb
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
5 6 7 8 9 |
# File 'lib/slack/messages/message.rb', line 5 def to_s keys.sort_by(&:to_s).map do |key| "#{key}=#{self[key]}" end.join(', ') end |