Exception: Hobby::Auth::SameNames
- Inherits:
-
StandardError
- Object
- StandardError
- Hobby::Auth::SameNames
- Defined in:
- lib/hobby/auth.rb
Instance Method Summary collapse
-
#initialize(models, name) ⇒ SameNames
constructor
A new instance of SameNames.
Constructor Details
#initialize(models, name) ⇒ SameNames
Returns a new instance of SameNames.
29 30 31 32 33 |
# File 'lib/hobby/auth.rb', line 29 def initialize models, name first, second = models = "The short names of #{first} and #{second} are the same: #{name}." super end |