Skip to content

Instantly share code, notes, and snippets.

@groman-me
Created March 7, 2012 01:13
Show Gist options
  • Save groman-me/1990236 to your computer and use it in GitHub Desktop.
Save groman-me/1990236 to your computer and use it in GitHub Desktop.
English-y to_hash
def to_hash
@reports.map(&:to_hash).reduce({}, :merge)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment