Class: Doc
Instance Method Summary collapse
Methods inherited from Array
Instance Method Details
#update ⇒ Object
7 8 9 10 11 |
# File 'lib/tasks/doc.rb', line 7 def update if(Command.exit_code('yard --version')) add 'yard doc - LICENSE' if File.exists?('README.md') && File.exists?('LICENSE') end end |