Exception: GitDS::DuplicatePropertyError

Inherits:
ArgumentError
  • Object
show all
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

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