Class: Math::SetTheory::RationalNumbers
- Includes:
- Singleton
- Defined in:
- lib/ruuuby/math/set_theory/discrete/rational_numbers.rb
Instance Attribute Summary
Attributes inherited from NumberSet
Attributes inherited from Closure
Instance Method Summary collapse
- #_∋?(n) ⇒ Boolean, NilClass
-
#initialize ⇒ RationalNumbers
constructor
A new instance of RationalNumbers.
Methods inherited from NumberSet
#countable?, #countably_infinite?, #finite?, #uncountable?, #∋?, #∌?, #⊂?, #⊃?, #⊄?, #⊅?, #⊆?, #⊇?
Constructor Details
#initialize ⇒ RationalNumbers
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
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 _ |