Blog NameBlog subtitlehttp://blog.url.com/2013-11-04T20:23:00ZBlog Authorex1-Comments/2013/11/04/ex1-comments.html2013-11-04T20:23:00Z2013-11-04T20:23:00ZArticle Author<p><a href="/index.html"><img src="rubilicious.jpg" alt="rubilicious" /></a></p>
<h1 id="learn-ruby-the-hard-way">Learn Ruby the Hard Way</h1>
<h2 id="by-zed-shaw">by Zed Shaw</h2>
<h3 id="example-0--1httprubylearncodethehardwayorgbookex1html"><a href="http://ruby.learncodethehardway.org/book/ex1.html">Example 0 & 1</a></h3>
<h4 id="nexthttpjendiamondgithubiolearnrubythehardwaylrthw-ex02html"><a href="http://jendiamond.github.io/learn_ruby_the_hard_way/lrthw-ex02.html">Next</a></h4>
<p><strong>Example 0 The Setup</strong></p>
<p>Create a folder/directory and label it learn_ruby_the_hard_way. Put all the examples you create in this file. Name your files ex01.rb, ex02.rb etc.</p>
<p>There are a lot of things that people don't remember were confusing or diffucult when they first started.</p>
<p><strong>Example 1 A Good 1st Program</strong></p>
<p>This is a great way to get started.
#puts is a method that will print a line then return to a new line
puts "hello world"
puts "hello from jen diamond"
#print is a method that prints a line but does not move to a new line
print "hello printy"
puts 'hello printier'
# The octothorpe, pound or hash tag comments out a line
# puts "hello again"
# puts "i like typing this"
# puts 'yay! printing.'
# puts "i'd much rather you 'not'."
# puts 'i "said" do not touch this.'</p>
Example Article/2012/01/01/example-article.html2012-01-01T08:00:00Z2012-01-01T08:00:00ZArticle Author<p>This is an example article. You probably want to delete it and write your own articles!</p>