diff options
author | Anton Lindqvist <anton@qvister.se> | 2012-03-22 12:25:10 +0100 |
---|---|---|
committer | Anton Lindqvist <anton@qvister.se> | 2012-03-22 12:25:28 +0100 |
commit | c5f4b202757473b8262aa2e6e6bcfca1da3d73d3 (patch) | |
tree | 009432044bfcd62c3df6ca57b31545225e063028 /railties/lib/rails | |
parent | 64249223ebb2b51814d8764c498b14a12d072b83 (diff) | |
download | rails-c5f4b202757473b8262aa2e6e6bcfca1da3d73d3.tar.gz rails-c5f4b202757473b8262aa2e6e6bcfca1da3d73d3.tar.bz2 rails-c5f4b202757473b8262aa2e6e6bcfca1da3d73d3.zip |
Fixed missing space bug introduces in rails/rails@9299bfdcd387253d83b645c205b8df477f2d0940.
Diffstat (limited to 'railties/lib/rails')
-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 |