On Nov 19, 2014, at 10:49 AM, Robert Fitzpatrick <rob...@webtent.org> wrote:
> 
> Then the code uses '#puts something if @verbose' throughout. Like I said, I'm 
> new to ruby, but have used Perl and PHP and other languages before, I hope is 
> what is throwing me off is the # are not comments? This almost looks like 
> @verbose would always be false. What is this piece of code looking for as an 
> argument?

You're reading things correctly.

# starts a comment
@verbose is always false in this code, and would be even if the if were not 
commented out

The code doesn't even make sense as the result of someone trying to comment out 
something to hard-wire @verbose to one value or the other...

-- 
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice




-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/7916A893-DF1F-4AC3-B2FC-671319933E6A%40elevated-dev.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to