Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
36 in_ruby_version("mri") do
37 RubyConstant = "What is the sound of one hand clapping?"
38 def test_constants_become_symbols
39 all_symbols_as_strings = Symbol.all_symbols.map { |x| x.to_s }
40
41 assert_equal false, all_symbols_as_strings.include?(RubyConstant)
42 end
43 end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment