Module: Stupidedi::Sets

Defined in:
lib/stupidedi/sets.rb

Constructors collapse

Class Method Details

.absolute(other, universe = other) ⇒ Cantor::AbsoluteSet

Returns:

  • (Cantor::AbsoluteSet)


35
36
37
# File 'lib/stupidedi/sets.rb', line 35

def absolute(other, universe = other)
  Cantor.absolute(other, universe)
end

.build(object) ⇒ Cantor::AbstractSet

Returns:

  • (Cantor::AbstractSet)


15
16
17
# File 'lib/stupidedi/sets.rb', line 15

def build(object)
  Cantor.build(object)
end

.complement(other) ⇒ Cantor::AbstractSet

Returns:

  • (Cantor::AbstractSet)


20
21
22
# File 'lib/stupidedi/sets.rb', line 20

def complement(other)
  Cantor.complement(other)
end

.emptyCantor::NullSet

Returns:

  • (Cantor::NullSet)


30
31
32
# File 'lib/stupidedi/sets.rb', line 30

def empty
  Cantor.empty
end

.universalCantor::UniversalSet

Returns:

  • (Cantor::UniversalSet)


25
26
27
# File 'lib/stupidedi/sets.rb', line 25

def universal
  Cantor.universal
end