Skip to content

Instantly share code, notes, and snippets.

@mmcgrana
Created July 18, 2012 23:19
Show Gist options
  • Save mmcgrana/3139640 to your computer and use it in GitHub Desktop.
Save mmcgrana/3139640 to your computer and use it in GitHub Desktop.

An Gist

This is a thing:

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

oneamtu commented Jul 19, 2012

converting symbols to strings?

@mmcgrana
Copy link
Author

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
Copy link

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