Class: Ector::Multi::UniqueOperationError
- Defined in:
- lib/ector-multi/errors.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ UniqueOperationError
constructor
A new instance of UniqueOperationError.
Constructor Details
#initialize(name) ⇒ UniqueOperationError
Returns a new instance of UniqueOperationError.
41 42 43 44 45 |
# File 'lib/ector-multi/errors.rb', line 41 def initialize(name) @name = name super("Operation name '#{name}' is not unique!") end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
39 40 41 |
# File 'lib/ector-multi/errors.rb', line 39 def name @name end |