Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Added single quotes when not doing string interpolation. #13916

Closed
wants to merge 3 commits into from

2 participants

This page is out of date. Refresh to see the latest.
Showing with 4 additions and 4 deletions.
  1. +2 −2 tools/profile
  2. +2 −2 version.rb
View
4 tools/profile
@@ -63,9 +63,9 @@ end
RequireProfiler.stats.each do |file, depth, sec|
if sec
- puts "%8.1f ms %s%s" % [sec * 1000, ' ' * depth, file]
+ puts '%8.1f ms %s%s' % [sec * 1000, ' ' * depth, file]
else
puts "#{' ' * (13 + depth)}#{file}"
end
end
-puts "%8.1f ms %d KB RSS" % [elapsed * 1000, after_rss - before_rss]
+puts '%8.1f ms %d KB RSS' % [elapsed * 1000, after_rss - before_rss]
View
4 version.rb
@@ -3,8 +3,8 @@ module VERSION
MAJOR = 4
MINOR = 1
TINY = 0
- PRE = "beta1"
+ PRE = 'beta1'
- STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
end
end
Something went wrong with that request. Please try again.