diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2012-03-23 03:06:42 -0700 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2012-03-23 03:06:42 -0700 |
commit | 39961f80999d527e0fa76d13227715e843fb38e2 (patch) | |
tree | 6618e1d0066f028aee28a7b77a88d93837879f93 /railties/lib | |
parent | b4115fdbc0599d80103d66e56595f9f876087ae5 (diff) | |
parent | c5f4b202757473b8262aa2e6e6bcfca1da3d73d3 (diff) | |
download | rails-39961f80999d527e0fa76d13227715e843fb38e2.tar.gz rails-39961f80999d527e0fa76d13227715e843fb38e2.tar.bz2 rails-39961f80999d527e0fa76d13227715e843fb38e2.zip |
Merge pull request #5546 from mptre/master
Fixed missing space bug introduces in rails/rails@9299bfd
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/source_annotation_extractor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/source_annotation_extractor.rb b/railties/lib/rails/source_annotation_extractor.rb index 9bfc2b16ab..4cd60fdc39 100644 --- a/railties/lib/rails/source_annotation_extractor.rb +++ b/railties/lib/rails/source_annotation_extractor.rb @@ -22,7 +22,7 @@ class SourceAnnotationExtractor # If +options+ has a flag <tt>:tag</tt> the tag is shown as in the example above. # Otherwise the string contains just line and text. def to_s(options={}) - s = "[#{line.to_s.rjust(options[:indent])}]" + s = "[#{line.to_s.rjust(options[:indent])}] " s << "[#{tag}] " if options[:tag] s << text end |