<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <id>tag:www.refactormycode.com,2007:users559</id>
  <link type="application/atom+xml" href="http://www.refactormycode.com/users/559" rel="self"/>
  <title>Sam Figueroa</title>
  <updated>Tue Jan 19 06:49:24 -0800 2010</updated>
  <entry>
    <id>tag:www.refactormycode.com,2007:Refactor418081</id>
    <published>2010-01-19T06:49:24-08:00</published>
    <title>[Ruby] On rot encode</title>
    <content type="html">&lt;p&gt;You know what bob. You're right. I didn't notice it at the time but now it is butt obvious to me. So where is your refactoring then :P &lt;/p&gt;

&lt;pre&gt;&lt;/pre&gt;</content>
    <author>
      <name>Sam Figueroa</name>
      <email>unimatrixzxero+gravatar@gmail.com</email>
    </author>
    <link type="text/html" href="http://www.refactormycode.com/codes/1148-rot-encode/refactors/418081" rel="alternate"/>
  </entry>
  <entry>
    <id>tag:www.refactormycode.com,2007:Code1148</id>
    <published>2010-01-17T11:44:24-08:00</published>
    <updated>2010-01-21T19:58:00-08:00</updated>
    <title>[Ruby] rot encode</title>
    <content type="html">&lt;p&gt;Rotation encoding with variable steps. This could get interesting&lt;/p&gt;

&lt;pre&gt;def rot_encode(s, offset=2)
   s.split('').map{ |char| (char.ord + offset).chr }.join
end  
&lt;/pre&gt;</content>
    <author>
      <name>Sam Figueroa</name>
      <email>unimatrixzxero+gravatar@gmail.com</email>
    </author>
    <link type="text/html" href="http://www.refactormycode.com/codes/1148-rot-encode" rel="alternate"/>
  </entry>
</feed>

