Exception: Ccd::Dsl::CardinalityError
- Inherits:
-
Exception
- Object
- Exception
- Ccd::Dsl::CardinalityError
- Defined in:
- lib/ccd/dsl.rb
Instance Method Summary collapse
-
#initialize(obj, name) ⇒ CardinalityError
constructor
A new instance of CardinalityError.
- #to_s ⇒ Object
Constructor Details
#initialize(obj, name) ⇒ CardinalityError
Returns a new instance of CardinalityError.
6 7 8 9 |
# File 'lib/ccd/dsl.rb', line 6 def initialize(obj, name) @object = obj @name = name end |
Instance Method Details
#to_s ⇒ Object
11 12 13 |
# File 'lib/ccd/dsl.rb', line 11 def to_s @name end |