Skip to content

Instantly share code, notes, and snippets.

@mmcgrana
Created Jul 18, 2012
Embed
What would you like to do?

An Gist

This is a thing:

def foo
  puts "bar" + :bat.to_s
end
@oneamtu

This comment has been minimized.

Copy link

@oneamtu oneamtu commented Jul 19, 2012

converting symbols to strings?

@mmcgrana

This comment has been minimized.

Copy link
Owner Author

@mmcgrana mmcgrana commented Jul 19, 2012

Ha hi Octavian. I was justing using this as a sample gist to see how code highlighting worked on gist.io and wanted to get a variety of syntax colors in the sample (:

@oneamtu

This comment has been minimized.

Copy link

@oneamtu oneamtu commented Jul 19, 2012

ah cool! it does make a nice page. I'm also newly into ruby (and rails) and I just came across converting symbols to strings the other day, I really thought it would be more complicated so I assumed others might have experienced similar epiphanies :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment