ROM::Attribute#source

Parsed documentation:
View on GitHub
Return source relation of this attribute type

@example
  class Tasks < ROM::Relation[:memory]
    schema do
      attribute :id, Types::Int
      attribute :user_id, Types.ForeignKey(:users)
    end
  end

  Users.schema[:id].source
  # => :tasks

  Users.schema[:user_id].source
  # => :tasks

@return [Symbol, Relation::Name]

@api public
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.