diff options
author | Justin <jevaniew@kanayo.com> | 2016-04-19 09:49:55 -0300 |
---|---|---|
committer | Justin <jevaniew@kanayo.com> | 2016-04-19 09:49:55 -0300 |
commit | b00c69cd1f0b0143ad8e6b92c982c106845583c7 (patch) | |
tree | 7fa1f788627562adc05b4bc96a70d70e396090ac /railties/test/commands | |
parent | 976410709997b69a2c33fd912a8665d85ab1f2c9 (diff) | |
download | rails-b00c69cd1f0b0143ad8e6b92c982c106845583c7.tar.gz rails-b00c69cd1f0b0143ad8e6b92c982c106845583c7.tar.bz2 rails-b00c69cd1f0b0143ad8e6b92c982c106845583c7.zip |
Change the Hash.to_xml with a lamda example
Update 'foo'.to_xml(lambda { |options, key| options[:builder].b(key) })
to {foo: lambda { |options, key| options[:builder].b(key) }}.to_xml
Diffstat (limited to 'railties/test/commands')
0 files changed, 0 insertions, 0 deletions