aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/commands
diff options
context:
space:
mode:
authorJustin <jevaniew@kanayo.com>2016-04-19 09:49:55 -0300
committerJustin <jevaniew@kanayo.com>2016-04-19 09:49:55 -0300
commitb00c69cd1f0b0143ad8e6b92c982c106845583c7 (patch)
tree7fa1f788627562adc05b4bc96a70d70e396090ac /railties/test/commands
parent976410709997b69a2c33fd912a8665d85ab1f2c9 (diff)
downloadrails-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