- This repository is archived
- No longer maintained
- All versions have been yanked from https://rubygems.org/ for releasing valuable namespace for others
Version <-> Noisrev
- Expression for library versions
- Keeping compatibility with String
- Pure Ruby :)
require 'noisrev'
require 'noisrev/core_ext' #=> Version = Noisrev
'0.10.0' > '0.2.0') #=> false
Version(0, 10, 0) > '0.2.0') #=> true
'0.2.0' > Version(0, 10, 0)) #=> false
'0.2.0' > Version(0, 1, 0)) #=> true
RUBY_VERSION #=> '1.9.3'
version = Version.parse '0.0.1'
version.runnable? #=> true
version.depend :Ruby, '3.0.1'
version.runnable? #=> false
version.depend :Ruby, '1.9.2'..'3.0.2'
version.runnable? #=> true
- Ruby - 1.9.2 or later
- striuct - 0.4
The MIT X11 License
Copyright (c) 2012 Kenichi Kamiya
See MIT-LICENSE for further details.