aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/paths.rb
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2015-03-12 08:23:43 -0400
committereileencodes <eileencodes@gmail.com>2015-03-12 08:25:51 -0400
commit044f9ab7a4d6646ddce4560bb83b58cdc0baa751 (patch)
tree78745f34671081a7f968395fbc66ca9693641168 /railties/lib/rails/paths.rb
parent9c655f1275c47509c0fa0f1b29ee29a009fc7066 (diff)
downloadrails-044f9ab7a4d6646ddce4560bb83b58cdc0baa751.tar.gz
rails-044f9ab7a4d6646ddce4560bb83b58cdc0baa751.tar.bz2
rails-044f9ab7a4d6646ddce4560bb83b58cdc0baa751.zip
Use `def setup` instead of `setup do`
`setup do` creates unnecessary allocations of proc objects in callbacks. This prevents that from happening and results in faster code.
Diffstat (limited to 'railties/lib/rails/paths.rb')
0 files changed, 0 insertions, 0 deletions