Class: Doodle

Inherits:
Object
  • Object
show all
Defined in:
lib/smqueue.rb

Defined Under Namespace

Classes: DoodleAttribute

Instance Method Summary collapse

Instance Method Details

#to_hashObject



25
26
27
# File 'lib/smqueue.rb', line 25

def to_hash
  doodle.attributes.inject({}) {|hash, (name, attribute)| hash[name] = send(name); hash}
end