Class: Doodle
- Inherits:
-
Object
- Object
- Doodle
- Defined in:
- lib/smqueue.rb
Direct Known Subclasses
SMQueue::Adapter, SMQueue::AdapterConfiguration, SMQueue::Message
Defined Under Namespace
Classes: DoodleAttribute
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
25 26 27 |
# File 'lib/smqueue.rb', line 25 def to_hash doodle.attributes.inject({}) {|hash, (name, attribute)| hash[name] = send(name); hash} end |