Module: Bumpy

Defined in:
lib/bumpy.rb,
lib/bumpy/version.rb

Constant Summary collapse

VERSION =
"1.0.0"

Class Method Summary collapse

Class Method Details

.bump_version(v) ⇒ Object



4
5
6
# File 'lib/bumpy.rb', line 4

def self.bump_version(v)
  v.gsub(/(\d+)$/) { $1.next }
end