class Doc < Array def update add 'yard doc - LICENSE' if File.exists?('README.md') && File.exists?('LICENSE') end end