lib/veritrans/version.rb in veritrans-1.2.6 vs lib/veritrans/version.rb in veritrans-2.0.0beta
- old
+ new
@@ -1,43 +1,3 @@
-# :nodoc:
module Veritrans
- # hold version number of this library
- # it use class methods to generate it
- #
- # Example:
- #
- # Veritrans::Version.to_s
- class Version
-
- class <<self
-
- private
-
- # :nodoc:
- def major
- 1
- end
-
- # :nodoc:
- def minor
- 2
- end
-
- # :nodoc:
- def patch
- 6
- end
-
- # :nodoc:
- def pre
- nil
- end
- end
-
- # ==== Return:
- #
- # * <tt>String</tt> - version information
- def self.to_s
- [major, minor, patch, pre].compact.join('.')
- end
- end
+ VERSION = "2.0.0beta"
end