lib/doc.rb in dev_commands-0.0.14 vs lib/doc.rb in dev_commands-0.0.15

- old
+ new

@@ -1,9 +1,9 @@ class Doc < Array def update - cmd=Command.new ({ :input => 'yard --version', :ignore_failure => true}) - cmd.execute - if(cmd[:exit_code]==0) + #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