class AocCli::Errors::UserDup
Attributes
user[R]
Public Class Methods
new(user)
click to toggle source
# File lib/aoc_cli/errors.rb, line 25 def initialize(user) @user = user end
Public Instance Methods
message()
click to toggle source
# File lib/aoc_cli/errors.rb, line 28 def message <<~error #{ERROR}: There is already a key set for the user #{user.yellow} Either check your config file or set a new username for this key using the #{"-u".yellow} or #{"--user".yellow} flags error end