I think you started it.

You mean something like: RUBY19 = !!(RUBY_VERSION =~ /^1\.9/)

I think that would work, trying it.