# File lib/beefcake.rb, line 235 def to_hash fields.values.inject({}) do |h, fld| if v = self[fld.name] h[fld.name] = v end h end end