def parse_arguments(*args)
options[:markup] = nil
['document', 'yardopts'].each do |file|
without, with = args.index("--no-#{file}") || -2, args.index("--#{file}") || -1
send("use_#{file}_file=", false) if without > with
end
optparse(*support_rdoc_document_file!) if use_document_file
optparse(*yardopts) if use_yardopts_file
optparse(*args)
self.files = ['lib/**/*.rb', 'ext/**/*.c'] if self.files.empty?
self.files.delete_if {|x| x =~ /\A\s*\Z/ }
options[:readme] ||= Dir.glob('README*').first
if options[:onefile]
options[:files] << options[:readme] if options[:readme]
options[:readme] = Dir.glob(files.first).first
end
Tags::Library.visible_tags -= hidden_tags
add_visibility_verifier
if generate && !verify_markup_options
false
else
true
end
end