Exception: GitDS::DuplicatePropertyError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- GitDS::DuplicatePropertyError
- Defined in:
- lib/git-ds/model/property.rb
Overview
Exception raised when duplicate properties (i.e. having the same name) are defined for a single class.
Instance Method Summary collapse
-
#initialize(name) ⇒ DuplicatePropertyError
constructor
A new instance of DuplicatePropertyError.
Constructor Details
#initialize(name) ⇒ DuplicatePropertyError
Returns a new instance of DuplicatePropertyError.
17 18 19 |
# File 'lib/git-ds/model/property.rb', line 17 def initialize(name) super "Duplicate property '#{name}'" end |