lib/guard/commands/all.rb in guard-1.6.2 vs lib/guard/commands/all.rb in guard-1.7.0
- old
+ new
@@ -17,10 +17,10 @@
BANNER
def process(*entries)
scopes, rest = ::Guard::Interactor.convert_scope(entries)
- if rest.length == 0
+ if rest.empty?
::Guard.run_all scopes
else
output.puts "Unkown scope #{ rest.join(', ') }"
end
end