Class: Math::SetTheory::RationalNumbers

Inherits:
NumberSet show all
Includes:
Singleton
Defined in:
lib/ruuuby/math/set_theory/discrete/rational_numbers.rb

Instance Attribute Summary

Attributes inherited from NumberSet

#name, #symbol, #𝔠

Attributes inherited from Closure

#axioms

Instance Method Summary collapse

Methods inherited from NumberSet

#countable?, #countably_infinite?, #finite?, #uncountable?, #∋?, #∌?, #⊂?, #⊃?, #⊄?, #⊅?, #⊆?, #⊇?

Constructor Details

#initializeRationalNumbers

Returns a new instance of RationalNumbers.



10
11
12
13
14
15
16
17
18
19
20
# File 'lib/ruuuby/math/set_theory/discrete/rational_numbers.rb', line 10

def initialize
  super(:

Instance Method Details

#_∋?(n) ⇒ Boolean, NilClass

Returns:

  • (Boolean, NilClass)


23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/ruuuby/math/set_theory/discrete/rational_numbers.rb', line 23

def _