Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/socialcastr/sax/active_resource.rb

Instance Method Summary collapse

Instance Method Details

#to_attribute_hashObject



12
13
14
# File 'lib/socialcastr/sax/active_resource.rb', line 12

def to_attribute_hash
  self.reduce({}) { |h,kv| h[kv[0]] = kv[1]; h }
end