Exception: Ccd::Dsl::CardinalityError

Inherits:
Exception
  • Object
show all
Defined in:
lib/ccd/dsl.rb

Instance Method Summary collapse

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_sObject



11
12
13
# File 'lib/ccd/dsl.rb', line 11

def to_s
  @name
end