Sha256: 1fa7f8f66780e5737f9246cc0232304367fb67f069f545d054c762a80a71b363
Contents?: true
Size: 1.42 KB
Versions: 12
Compression:
Stored size: 1.42 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>to_info_dump (NativeFileType)</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 lib/NativeFileType.rb, line 67</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_info_dump</span> <span class="ruby-identifier">s</span>=<span class="ruby-node">"class: #{self.class}\n"</span> <span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-node">"filename: #{self.filename}\n"</span> <span class="ruby-ivar">@meta_data</span>.<span class="ruby-identifier">keys</span>.<span class="ruby-identifier">sort</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span> <span class="ruby-identifier">s</span><span class="ruby-operator"><<</span><span class="ruby-node">"#{k}: #{@meta_data[k]}\n"</span>} <span class="ruby-identifier">s</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
12 entries across 8 versions & 1 rubygems