lib/familia/version.rb in familia-1.0.0.pre.rc3 vs lib/familia/version.rb in familia-1.0.0.pre.rc4

- old
+ new

@@ -1,14 +1,14 @@ -# rubocop:disable all +# frozen_string_literal: true require 'yaml' module Familia module VERSION def self.to_s load_config version = [@version[:MAJOR], @version[:MINOR], @version[:PATCH]].join('.') - version += "-#{@version[:PRE]}" if @version[:PRE] + version = "#{version}-#{@version[:PRE]}" if @version[:PRE] version end alias inspect to_s def self.version