<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Advice For Ruby Beginners 1</title>
	<atom:link href="http://rubylearning.com/blog/2007/09/27/advice-for-ruby-beginners-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://rubylearning.com/blog/2007/09/27/advice-for-ruby-beginners-1/</link>
	<description>Ruby helps programmers have more fun!</description>
	<lastBuildDate>Thu, 11 Mar 2010 23:22:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bruce</title>
		<link>http://rubylearning.com/blog/2007/09/27/advice-for-ruby-beginners-1/comment-page-1/#comment-122904</link>
		<dc:creator>Bruce</dc:creator>
		<pubDate>Sun, 07 Mar 2010 10:00:50 +0000</pubDate>
		<guid isPermaLink="false">http://rubylearning.com/blog/2007/09/27/advice-for-ruby-beginners-1/#comment-122904</guid>
		<description>I am a non-developer type that is trying to learn Ruby. I think I have a handle on some of the basic concepts but on this assignment I am stuck. I am not looking for anyone to do my assignment but would like some hints on what I am missing.

#!/usr/bin/env ruby
#Lab 3
#Bruce Lewis

#Instructions

#For this lab you will need to create a Ruby class called Tut, this class should contain two class methods, one called to_tut and the 
#other called to_english.

#The to_tut method should accept an english string as an argument to the method and then should pass each of the characters of that 
#string converted to tut to a block associated with the method.

#The to_english method should access a tut string as an argument to the method and then should pass each of the characters of that string 
#converted to english to a block associated with the method.

#When your Tut class is working properly you should be able to execute the following test code and have it produce the specified output:
#Tut.to_tut( &quot;Wow! Look at this get converted to Tut!&quot; ) { &#124;c&#124; print c }
# should outout : Wutowut! Lutookut atut tuthutisut gutetut cutonutvuteruttutedut tuto Tututut!

#tut_string = &quot;&quot;
#Tut.to_tut( &quot;I&#039;m in tut but I want to be in english.&quot; ) { &#124;c&#124; tut_string += c }
#puts tut_string
# should output : I&#039;mut inut tututut bututut I wutanuttut tuto bute inut enutgutlutisuthut.

#Tut.to_english( tut_string ) { &#124;c&#124; print c }
# should output : I&#039;m in tut but I want to be in english.
#The Language of Tut 

#The tut language is a simple encoded language where words are spelled out and the letters &quot;ut&quot; are placed after every constant, vowels 
#are left as they are. #So the word &quot;Hello&quot;, in tut become &quot;Hutelutluto&quot; The word &quot;Goodbye&quot; becomes &quot;Gutoodutbutyute&quot;. The sentence &quot;How 
#are you today?&quot;, becomes &quot;Hutowut arute yutou tutodutayut?&quot;.

class Tut  

      def to_tut(direction)
        if direction == &#039;T&#039;&#124;&#124; direction == &#039;t&#039;
        puts &#039;Please enter what you would like to have converted to Tut.&#039;
        #add ut to constant
      end
      
      def to_english(direction)
        if direction == &#039;E&#039;&#124;&#124; direction == &#039;e&#039;
        puts &#039;Please enter what you would like to have converted to English.&#039;
        #remove ut from constant
        end
     end

end

puts &quot;Welcome to my Tut translation lab!&quot;
    
puts &quot;Who am I translating for today?&quot;
  tname = gets
    
puts &quot;Hi, #{tname.chomp} in what direction would you like to translate English or Tut or Tut to English?&quot; 

puts &quot;Please enter T for English to Tut or E for Tut to English&quot;
   direction = gets
#   puts &quot;You have selected #{direction.chomp}&quot;

end

I know this step is writting to memory but how do I get my methods to see and understand it?</description>
		<content:encoded><![CDATA[<p>I am a non-developer type that is trying to learn Ruby. I think I have a handle on some of the basic concepts but on this assignment I am stuck. I am not looking for anyone to do my assignment but would like some hints on what I am missing.</p>
<p>#!/usr/bin/env ruby<br />
#Lab 3<br />
#Bruce Lewis</p>
<p>#Instructions</p>
<p>#For this lab you will need to create a Ruby class called Tut, this class should contain two class methods, one called to_tut and the<br />
#other called to_english.</p>
<p>#The to_tut method should accept an english string as an argument to the method and then should pass each of the characters of that<br />
#string converted to tut to a block associated with the method.</p>
<p>#The to_english method should access a tut string as an argument to the method and then should pass each of the characters of that string<br />
#converted to english to a block associated with the method.</p>
<p>#When your Tut class is working properly you should be able to execute the following test code and have it produce the specified output:<br />
#Tut.to_tut( &#8220;Wow! Look at this get converted to Tut!&#8221; ) { |c| print c }<br />
# should outout : Wutowut! Lutookut atut tuthutisut gutetut cutonutvuteruttutedut tuto Tututut!</p>
<p>#tut_string = &#8220;&#8221;<br />
#Tut.to_tut( &#8220;I&#8217;m in tut but I want to be in english.&#8221; ) { |c| tut_string += c }<br />
#puts tut_string<br />
# should output : I&#8217;mut inut tututut bututut I wutanuttut tuto bute inut enutgutlutisuthut.</p>
<p>#Tut.to_english( tut_string ) { |c| print c }<br />
# should output : I&#8217;m in tut but I want to be in english.<br />
#The Language of Tut </p>
<p>#The tut language is a simple encoded language where words are spelled out and the letters &#8220;ut&#8221; are placed after every constant, vowels<br />
#are left as they are. #So the word &#8220;Hello&#8221;, in tut become &#8220;Hutelutluto&#8221; The word &#8220;Goodbye&#8221; becomes &#8220;Gutoodutbutyute&#8221;. The sentence &#8220;How<br />
#are you today?&#8221;, becomes &#8220;Hutowut arute yutou tutodutayut?&#8221;.</p>
<p>class Tut  </p>
<p>      def to_tut(direction)<br />
        if direction == &#8216;T&#8217;|| direction == &#8216;t&#8217;<br />
        puts &#8216;Please enter what you would like to have converted to Tut.&#8217;<br />
        #add ut to constant<br />
      end</p>
<p>      def to_english(direction)<br />
        if direction == &#8216;E&#8217;|| direction == &#8216;e&#8217;<br />
        puts &#8216;Please enter what you would like to have converted to English.&#8217;<br />
        #remove ut from constant<br />
        end<br />
     end</p>
<p>end</p>
<p>puts &#8220;Welcome to my Tut translation lab!&#8221;</p>
<p>puts &#8220;Who am I translating for today?&#8221;<br />
  tname = gets</p>
<p>puts &#8220;Hi, #{tname.chomp} in what direction would you like to translate English or Tut or Tut to English?&#8221; </p>
<p>puts &#8220;Please enter T for English to Tut or E for Tut to English&#8221;<br />
   direction = gets<br />
#   puts &#8220;You have selected #{direction.chomp}&#8221;</p>
<p>end</p>
<p>I know this step is writting to memory but how do I get my methods to see and understand it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: merbist</title>
		<link>http://rubylearning.com/blog/2007/09/27/advice-for-ruby-beginners-1/comment-page-1/#comment-120771</link>
		<dc:creator>merbist</dc:creator>
		<pubDate>Tue, 16 Dec 2008 23:10:06 +0000</pubDate>
		<guid isPermaLink="false">http://rubylearning.com/blog/2007/09/27/advice-for-ruby-beginners-1/#comment-120771</guid>
		<description>&lt;span class=&quot;topsy_trackback_comment&quot;&gt;&lt;span class=&quot;topsy_twitter_username&quot;&gt;&lt;span class=&quot;topsy_trackback_content&quot;&gt;@boomerhawk check http://tinyurl.com/2bs8xx that might help&lt;/span&gt;&lt;/span&gt;</description>
		<content:encoded><![CDATA[<p><span class="topsy_trackback_comment"><span class="topsy_twitter_username"><span class="topsy_trackback_content">@boomerhawk check <a href="http://tinyurl.com/2bs8xx" rel="nofollow">http://tinyurl.com/2bs8xx</a> that might help</span></span></span></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Advice For Ruby Beginners 2 &#8212; RubyLearning Blog</title>
		<link>http://rubylearning.com/blog/2007/09/27/advice-for-ruby-beginners-1/comment-page-1/#comment-84355</link>
		<dc:creator>Advice For Ruby Beginners 2 &#8212; RubyLearning Blog</dc:creator>
		<pubDate>Thu, 18 Sep 2008 10:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://rubylearning.com/blog/2007/09/27/advice-for-ruby-beginners-1/#comment-84355</guid>
		<description>[...] is part 2 in our ongoing conversation - &#8220;Advice For Ruby [...]</description>
		<content:encoded><![CDATA[<p>[...] is part 2 in our ongoing conversation &#8211; &#8220;Advice For Ruby [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Advice For Ruby Beginners 3 &#8212; RubyLearning Blog</title>
		<link>http://rubylearning.com/blog/2007/09/27/advice-for-ruby-beginners-1/comment-page-1/#comment-84354</link>
		<dc:creator>Advice For Ruby Beginners 3 &#8212; RubyLearning Blog</dc:creator>
		<pubDate>Thu, 18 Sep 2008 10:50:26 +0000</pubDate>
		<guid isPermaLink="false">http://rubylearning.com/blog/2007/09/27/advice-for-ruby-beginners-1/#comment-84354</guid>
		<description>[...] is part 3 in our ongoing conversation - &#8220;Advice For Ruby [...]</description>
		<content:encoded><![CDATA[<p>[...] is part 3 in our ongoing conversation &#8211; &#8220;Advice For Ruby [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alain Yap</title>
		<link>http://rubylearning.com/blog/2007/09/27/advice-for-ruby-beginners-1/comment-page-1/#comment-44588</link>
		<dc:creator>Alain Yap</dc:creator>
		<pubDate>Tue, 08 Apr 2008 05:24:45 +0000</pubDate>
		<guid isPermaLink="false">http://rubylearning.com/blog/2007/09/27/advice-for-ruby-beginners-1/#comment-44588</guid>
		<description>Missed the classes due to heavy work sked.  Now I&#039;m really dreading missing this.

Continue with the top posts, Satish.  Sure nice to have you as a web resource.

Best.
friarminor</description>
		<content:encoded><![CDATA[<p>Missed the classes due to heavy work sked.  Now I&#8217;m really dreading missing this.</p>
<p>Continue with the top posts, Satish.  Sure nice to have you as a web resource.</p>
<p>Best.<br />
friarminor</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!--f0c25b539901624b460e129d15264305-->