Skip to content

Instantly share code, notes, and snippets.

@cwgem
Created July 27, 2011 03:52
Show Gist options
  • Save cwgem/1108637 to your computer and use it in GitHub Desktop.
Save cwgem/1108637 to your computer and use it in GitHub Desktop.
about_symbols.rbのtest_method_names_become_symbols
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