Module: Stupidedi::Sets

Defined in:
lib/stupidedi/sets.rb

Constructors collapse

Class Method Details

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

Returns:

  • (Cantor::AbsoluteSet)


33
34
35
# File 'lib/stupidedi/sets.rb', line 33

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

.build(object) ⇒ Cantor::AbstractSet

Returns:

  • (Cantor::AbstractSet)


13
14
15
# File 'lib/stupidedi/sets.rb', line 13

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

.complement(other) ⇒ Cantor::AbstractSet

Returns:

  • (Cantor::AbstractSet)


18
19
20
# File 'lib/stupidedi/sets.rb', line 18

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

.emptyCantor::NullSet

Returns:

  • (Cantor::NullSet)


28
29
30
# File 'lib/stupidedi/sets.rb', line 28

def empty
  Cantor.empty
end

.universalCantor::UniversalSet

Returns:

  • (Cantor::UniversalSet)


23
24
25
# File 'lib/stupidedi/sets.rb', line 23

def universal
  Cantor.universal
end