Sha256: a7a1b8d3ad65aba4b5dfcca8d4b79e3c8fb18cab5d261735666f252ecf5c937e
Contents?: true
Size: 1.89 KB
Versions: 4
Compression:
Stored size: 1.89 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>uninstall (App)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre><span class="ruby-comment cmt"># File bin/js-get, line 168</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">uninstall</span> <span class="ruby-ivar">@arguments</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">js_name</span><span class="ruby-operator">|</span> <span class="ruby-identifier">puts</span> <span class="ruby-node">"Removing Javascript - #{js_name}"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@options</span>.<span class="ruby-identifier">verbose</span> <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">rm</span> [ [<span class="ruby-constant">JSDIR</span>,<span class="ruby-node">"#{js_name}.js"</span>].<span class="ruby-identifier">join</span>(<span class="ruby-value str">'/'</span>) ] <span class="ruby-identifier">puts</span> <span class="ruby-node">"Successfully removed javascript library - #{js_name}"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@options</span>.<span class="ruby-identifier">verbose</span> <span class="ruby-keyword kw">end</span> <span class="ruby-keyword kw">rescue</span> <span class="ruby-identifier">puts</span> <span class="ruby-value str">"Could not remove javascript library"</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
js-get-0.1.7 | doc/classes/App.src/M000014.html |
js-get-0.1.6 | doc/classes/App.src/M000014.html |
js-get-0.1.5 | doc/classes/App.src/M000014.html |
js-get-0.1.4 | doc/classes/App.src/M000014.html |