Class: ActiveFacts::Metamodel::RingConstraint

Inherits:
Constraint
  • Object
show all
Defined in:
lib/activefacts/vocabulary/metamodel.rb,
lib/activefacts/vocabulary/extensions.rb

Instance Method Summary collapse

Instance Method Details

#describeObject



910
911
912
913
914
915
916
917
# File 'lib/activefacts/vocabulary/extensions.rb', line 910

def describe
  'RingConstraint(' +
  ring_type.to_s+': ' +
  role.describe+', ' +
  other_role.describe+' in ' +
  role.fact_type.default_reading +
  ')'
end