Added ruby_22? and friends to CurrentRuby.
Merge pull request #3309 from thomasfedb/ruby_22

Added ruby_22? and friends to CurrentRuby.