Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nicwn/791940 to your computer and use it in GitHub Desktop.
Save nicwn/791940 to your computer and use it in GitHub Desktop.
ruby koans
def test_method_names_become_symbols
symbols_as_strings = Symbol.all_symbols.map { |x| x.to_s }
assert_equal true, symbols_as_strings.include?("test_method_names_become_symbols")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment