lib/cuprum/collections/loader/version.rb
# Generates the gem version string from the Version constants.
#
# Inlined here because dependencies may not be loaded when processing a
# gemspec, which results in the user being unable to install the gem for
# the first time.
#
# @see SleepingKingStudios::Tools::SemanticVersion#to_gem_version
Generates the gem version string from the Version constants.
Inlined here because dependencies may not be loaded when processing a
gemspec, which results in the user being unable to install the gem for
the first time.
Generates the gem version string from the Version constants . Inlined here because dependencies may not be loaded when processing a gemspec which results in the user being unable to install the gem for the first time .
def to_gem_version
            str = +"#{MAJOR}.#{MINOR}.#{PATCH}"
            prerelease = value_of(:PRERELEASE)
            str << ".#{prerelease}" if prerelease
            build = value_of(:BUILD)
            str << ".#{build}" if build
            str
          end
def to_gem_version str = + "#{MAJOR}.#{MINOR}.#{PATCH}" prerelease = value_of ( :PRERELEASE ) str << ".#{prerelease}" if prerelease build = value_of ( :BUILD ) str << ".#{build}" if build str end
Generates the gem version string from the Version constants.
Generates the gem version string from the Version constants .
see
None