doc/classes/Party.src/M000344.html in backlog-0.7.12 vs doc/classes/Party.src/M000344.html in backlog-0.8.0
- old
+ new
@@ -3,16 +3,16 @@
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
- <title>icon (Party)</title>
+ <title>to_sym (Party)</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 app/models/party.rb, line 12</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">icon</span>
- <span class="ruby-identifier">to_sym</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">+</span> <span class="ruby-value str">'.png'</span>
+ <pre><span class="ruby-comment cmt"># File app/models/party.rb, line 4</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_sym</span>
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">name</span>.<span class="ruby-identifier">downcase</span>.<span class="ruby-identifier">to_sym</span>
<span class="ruby-keyword kw">end</span></pre>
</body>
</html>
\ No newline at end of file