8 9 10
# File 'lib/magnetic/rubyext.rb', line 8 def to_options keys.inject({}){|h,k| h.update k.to_s.to_sym => self[k]} end
13 14 15
# File 'lib/magnetic/rubyext.rb', line 13 def to_options! replace to_options end