Module: Rsvg::Version
- Defined in:
- lib/rsvg2/version.rb
Constant Summary collapse
- MAJOR =
MAJOR_VERSION
- MINOR =
MINOR_VERSION
- MICRO =
MICRO_VERSION
- STRING =
"#{MAJOR_VERSION}.#{MINOR_VERSION}.#{MICRO_VERSION}"
Class Method Summary collapse
Class Method Details
.or_later?(major, minor, micro = nil) ⇒ Boolean
24 25 26 27 28 29 30 31 32 |
# File 'lib/rsvg2/version.rb', line 24 def or_later?(major, minor, micro=nil) micro ||= 0 version = [ MAJOR_VERSION, MINOR_VERSION, MICRO_VERSION, ] (version <=> [major, minor, micro]) >= 0 end |