Module: CapistranoOffroad::VERSION
- Defined in:
- lib/capistrano-offroad/version.rb
Constant Summary collapse
Class Method Summary collapse
Class Method Details
.require_version(major, minor = 0, tiny = 0) ⇒ Object
8 9 10 11 12 |
# File 'lib/capistrano-offroad/version.rb', line 8 def VERSION.require_version(major, minor=0, tiny=0) unless ([MAJOR, MINOR, TINY] <=> [major, minor, tiny]) >= 0 raise Capistrano::Error, "capistrano-offroad version #{MAJOR}.#{MINOR}.#{TINY} is below required #{major}.#{minor}.#{tiny}" end end |