lib/doc.rb in dev_commands-0.0.54 vs lib/doc.rb in dev_commands-0.0.55
- old
+ new
@@ -1,9 +1,9 @@
-class Doc < Array
- def update
- #cmd=Command.new ({ :input => 'yard --version', :ignore_failure => true})
- #cmd.execute
- if(Command.exit_code('yard --version'))
- add 'yard doc - LICENSE' if File.exists?('README.md') && File.exists?('LICENSE')
- end
- end
+class Doc < Array
+ def update
+ #cmd=Command.new ({ :input => 'yard --version', :ignore_failure => true})
+ #cmd.execute
+ if(Command.exit_code('yard --version'))
+ add 'yard doc - LICENSE' if File.exists?('README.md') && File.exists?('LICENSE')
+ end
+ end
end
\ No newline at end of file