diff options
| author | Sam Ruby <rubys@intertwingly.net> | 2013-04-11 11:47:13 -0400 |
|---|---|---|
| committer | Sam Ruby <rubys@intertwingly.net> | 2013-04-11 11:47:13 -0400 |
| commit | a4f812f512cf83f5330562bcdf0b2a4199179466 (patch) | |
| tree | ea010d48459929330037ad72cccc45891c2138a9 /railties/lib/rails/generators/erb | |
| parent | 53d6cc04e73d5e9a0ec334bdfdce8f272005564f (diff) | |
| download | rails-a4f812f512cf83f5330562bcdf0b2a4199179466.tar.gz rails-a4f812f512cf83f5330562bcdf0b2a4199179466.tar.bz2 rails-a4f812f512cf83f5330562bcdf0b2a4199179466.zip | |
Use strip_heredoc where possible
Following up on an observation by @rafaelfranca
https://github.com/rails/rails/pull/10170/files#r3753963
Reduce the number of gsub calls to the two cases where inputs are concatenated
from various sources and with inconsistent indentation.
Also zap extraneous spacing from the sass-rails line... presumably this is a
holdover from a previous time where this aligned the version string with an
adjacent line.
Diffstat (limited to 'railties/lib/rails/generators/erb')
0 files changed, 0 insertions, 0 deletions
