Sha256: ce0433876f3bd41014ff8e44b7d5152b1e9212724b369b05dcec81f3bd9ba1ba
Contents?: true
Size: 1 KB
Versions: 13
Compression:
Stored size: 1 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>normalised_font_name (C64GeosFont)</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/native_file_types/c64/C64GeosFont.rb, line 34</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">normalised_font_name</span>(<span class="ruby-identifier">point_size</span>=<span class="ruby-identifier">point_sizes</span>.<span class="ruby-identifier">last</span>) <span class="ruby-node">"peekbot-#{filename.downcase.gsub(/\W/,"-")}#{ filename=~/\d$/ ? "" : "-"+point_size.to_s}"</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
13 entries across 7 versions & 1 rubygems