aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/initializable.rb
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2015-12-23 23:51:21 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2015-12-23 23:51:21 +0100
commit435ebf456984f2e3f051ceef8aa9a1b1f2b918ce (patch)
tree6676ea3a02a818ff74226cd9850a524876b9b2e2 /railties/lib/rails/initializable.rb
parentaf85e8a987ace926a5d0c21b87a68e2664cfba19 (diff)
downloadrails-435ebf456984f2e3f051ceef8aa9a1b1f2b918ce.tar.gz
rails-435ebf456984f2e3f051ceef8aa9a1b1f2b918ce.tar.bz2
rails-435ebf456984f2e3f051ceef8aa9a1b1f2b918ce.zip
Move test coloring closer to where it's used.
Didn't like the constant being at the top of the file, gave it overdue importance. Now that `color_output` expects a result we can shorten some of the flexibility from earlier: * Inline COLOR_CODES constant (keep local variable for readability, but don't need names of colors at run time). * Inline color variable in `color_output`. Looks just as clear without it.
Diffstat (limited to 'railties/lib/rails/initializable.rb')
0 files changed, 0 insertions, 0 deletions