bin/code in code-ruby-0.15.16 vs bin/code in code-ruby-1.0.0
- old
+ new
@@ -38,10 +38,10 @@
input += parsed.arguments.join(" ")
input += parsed.files.map { |file| File.read(file) }.join
abort parsed.help if input.empty?
-profile = parsed.options.profile || parsed.options.profiler
+profile = parsed.options.profile || !parsed.options.profiler.empty?
require "ruby-prof" if profile
RubyProf.start if profile
if parsed.options.parse