class Superhosting::Cli::Error::AmbiguousCommand

Public Class Methods

new(msg: 'Ambiguous command', commands:, path: '') click to toggle source
Calls superclass method Superhosting::Cli::Base::new
# File lib/superhosting/cli/error/ambiguous_command.rb, line 5
def initialize(msg: 'Ambiguous command', commands:, path: '')
  super(error: "#{msg}: #{path.join(' ')} (#{commands.join('|')})")
end