Sha256: 5b923226a648bb11472c6bb2e9ca7dac37e185bc086899c781d275178520daf6
Contents?: true
Size: 356 Bytes
Versions: 786
Compression:
Stored size: 356 Bytes
Contents
module Puppet::ModuleTool::Errors class ModuleToolError < Puppet::Error def v(version) (version || '???').to_s.sub(/^(?=\d)/, 'v') end def vstring if @action == :upgrade "#{v(@installed_version)} -> #{v(@requested_version)}" else "#{v(@installed_version || @requested_version)}" end end end end
Version data entries
786 entries across 786 versions & 4 rubygems