lib/convenient_service/support/version.rb in convenient_service-0.5.0 vs lib/convenient_service/support/version.rb in convenient_service-0.6.0
- old
+ new
@@ -22,15 +22,22 @@
class << self
##
# @return [ConvenientService::Support::Version::NullVersion]
#
def null_version
- @null_version ||= NullVersion.new
+ @null_version ||= Support::Version::NullVersion.new
end
end
##
+ # @return [Boolean]
+ #
+ def null_version?
+ false
+ end
+
+ ##
# @return [Gem::Version, nil]
#
def gem_version
cast_gem_version(value)
end
@@ -50,9 +57,12 @@
gem_version.to_s
end
private
+ ##
+ # @return [String]
+ #
attr_reader :value
##
# @return [Gem::Version, nil]
#