Exception: User::DuplicateNickname

Inherits:
StandardError
  • Object
show all
Defined in:
app/models/user.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(nickname) ⇒ DuplicateNickname


78
79
80
# File 'app/models/user.rb', line 78

def initialize(nickname)
  @nickname = nickname
end

Instance Attribute Details

#nicknameObject (readonly)

Returns the value of attribute nickname


76
77
78
# File 'app/models/user.rb', line 76

def nickname
  @nickname
end