Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
ferndopolis committed Feb 21, 2014
1 parent 982ab5d commit 60cd64f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions lib/timecop_console/version.rb
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
module TimecopConsole
class Version
MAJOR = 0 unless defined? MAJOR
MINOR = 2 unless defined? MINOR
PATCH = 0 unless defined? PATCH
MAJOR ||= 0
MINOR ||= 3
PATCH ||= 0

class << self

# @return [String]
def to_s
[MAJOR, MINOR, PATCH].compact.join('.')
end

end

end
end

0 comments on commit 60cd64f

Please sign in to comment.