required_ruby_version=(req)
Instance Public methods
The version of Ruby required by this gem. The ruby version can be specified to the patch-level:
1 2 3 | $ ruby -v -e 'p Gem.ruby_version' ruby 2 . 0 .0p247 ( 2013 - 06 - 27 revision 41674 ) [x86_64-darwin12. 4 . 0 ] #<Gem::Version "2.0.0.247"> |
Usage:
1 2 3 4 5 | # This gem will work with 1.8.6 or greater... spec.required_ruby_version = '>= 1.8.6' # Only with ruby 2.0.x spec.required_ruby_version = '~> 2.0' |
Please login to continue.