Exception: Yoker::UnsupportedVersionManagerError

Inherits:
InvalidConfigurationError show all
Defined in:
lib/yoker/errors.rb

Overview

Raised when unsupported version manager is specified

Instance Method Summary collapse

Constructor Details

#initialize(manager) ⇒ UnsupportedVersionManagerError

Returns a new instance of UnsupportedVersionManagerError.



63
64
65
66
# File 'lib/yoker/errors.rb', line 63

def initialize(manager)
  supported = %w[mise rbenv rvm none]
  super("Version manager '#{manager}' is not supported. Supported: #{supported.join(", ")}")
end