lib/inch/cli/yardopts_helper.rb in inch-0.5.0.rc5 vs lib/inch/cli/yardopts_helper.rb in inch-0.5.0.rc6
- old
+ new
@@ -19,10 +19,10 @@
# @return [void]
def parse_yardopts_options(opts, args)
wrapper = YardoptsWrapper.new
dupped_args = args.dup
- dupped_args.delete("--help")
+ dupped_args.delete('--help')
dupped_args.delete_if do |arg|
arg =~ /^\-/ && !VALID_YARD_SWITCHES.include?(arg)
end
if ui