Exception: TasteTester::Exceptions::AlreadyTestingError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/taste_tester/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(username) ⇒ AlreadyTestingError

Returns a new instance of AlreadyTestingError.



28
29
30
# File 'lib/taste_tester/exceptions.rb', line 28

def initialize(username)
  @username = username
end

Instance Attribute Details

#usernameObject (readonly)

Returns the value of attribute username.



26
27
28
# File 'lib/taste_tester/exceptions.rb', line 26

def username
  @username
end