lib/tasks/doc.rb in dev-2.1.75 vs lib/tasks/doc.rb in dev-2.1.76
- old
+ new
@@ -1,10 +1,10 @@
-desc 'performs documentation commands'
-task :doc do Tasks.execute_task :doc;end
-
-class Doc < Array
- def update
- if(Command.exit_code('yard --version'))
- add_quiet 'yard doc - LICENSE' if File.exists?('README.md') && File.exists?('LICENSE')
- end
- end
+desc 'performs documentation commands'
+task :doc do Tasks.execute_task :doc;end
+
+class Doc < Array
+ def update
+ if(Command.exit_code('yard --version'))
+ add_quiet 'yard doc - LICENSE' if File.exists?('README.md') && File.exists?('LICENSE')
+ end
+ end
end
\ No newline at end of file