Class: KDomain::Schemas::Domain::Model::Relationship
- Inherits:
-
RailsStructure::NameOptsType
- Object
- Dry::Struct
- RailsStructure::NameOptsType
- KDomain::Schemas::Domain::Model::Relationship
- Defined in:
- lib/k_domain/schemas/domain.rb
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
11 12 13 |
# File 'lib/k_domain/schemas/domain.rb', line 11 def to_s "#{relation_type}: :#{name} fk: #{opts[:foreign_key]}" end |