Module: Stupidedi::Sets

Defined in:
lib/stupidedi/sets.rb

Constructors (collapse)

Class Method Details

+ (Cantor::AbsoluteSet) absolute(other, universe = other)

Returns:

  • (Cantor::AbsoluteSet)


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

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

+ (Cantor::AbstractSet) build(object)

Returns:

  • (Cantor::AbstractSet)


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

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

+ (Cantor::AbstractSet) complement(other)

Returns:

  • (Cantor::AbstractSet)


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

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

+ (Cantor::NullSet) empty

Returns:

  • (Cantor::NullSet)


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

def empty
  Cantor.empty
end

+ (Cantor::UniversalSet) universal

Returns:

  • (Cantor::UniversalSet)


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

def universal
  Cantor.universal
end