abstract class School::Relationship(A, B)

Overview

A fact that asserts a relationship.

e.g.

Defined in:

school/fact.cr

Constructors

Instance Method Summary

Instance methods inherited from class School::Fact

==(other : self) ==, hash(hasher) hash, to_s(io : IO) to_s

Constructor Detail

def self.new(a : A, b : B) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def a #

[View source]
def b #

[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)