Sha256: 3b4f6322123f779120ff775f57c9a36bf13a57382256a2ece602d4fbc6686a4e
Contents?: true
Size: 1.38 KB
Versions: 1
Compression:
Stored size: 1.38 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 166</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">uninstall</span> <span class="ruby-identifier">js_name</span> = <span class="ruby-ivar">@argument</span>[<span class="ruby-value">1</span>] <span class="ruby-identifier">puts</span> <span class="ruby-node">"Removing Javascript - #{js_name}"</span> <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">rm</span> <span class="ruby-node">%w{ [JSDIR,"#{js_name}.js"].join('/') }</span> <span class="ruby-identifier">puts</span> <span class="ruby-node">"Successfully removed javascript library - #{js_name}"</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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
js-get-0.1.3 | doc/classes/App.src/M000014.html |