ruby/ruby — pull request #639 by davidcornu (2014-06-13 22:53:00+00:00)
Title: Add Symbol.count

Provides a more efficient way to get the number of symbols in Ruby's symbol table which comes in handy when trying to detect accidental conversion of user strings into symbols.

Using `Symbol.all_symbols` for this is inefficient.