DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Dan has posted 4 posts at DZone. View Full User Profile

Compare Versions Using Rubygems

05.01.2008
| 2483 views |
  • submit to reddit
        http://pivots.pivotallabs.com/users/chad/blog/articles/362-the-power-of-versions-monkey-patches-targeted-with-friggin-laser-beams-

Gem::Version::Requirement.new(['> 0.9.0']).satisfied_by?(Gem::Version.new('0.11.0'))