Class: Math::SetTheory::IntegerNumbers
- Includes:
- Singleton
- Defined in:
- lib/ruuuby/math/set_theory/discrete/integer_numbers.rb
Instance Attribute Summary
Attributes inherited from NumberSet
Attributes inherited from Closure
Instance Method Summary collapse
-
#initialize ⇒ IntegerNumbers
constructor
A new instance of IntegerNumbers.
-
#∋?(n) ⇒ Boolean
True, if this number is equivalent to 0 or 1 numbers in the boolean-domain(+𝔹+).
Methods inherited from NumberSet
#countable?, #countably_infinite?, #finite?, #uncountable?, #∌?, #⊂?, #⊃?, #⊄?, #⊅?, #⊆?, #⊇?
Constructor Details
#initialize ⇒ IntegerNumbers
Returns a new instance of IntegerNumbers.
10 11 12 13 14 15 16 17 18 |
# File 'lib/ruuuby/math/set_theory/discrete/integer_numbers.rb', line 10 def initialize super(: |
Instance Method Details
#∋?(n) ⇒ Boolean
Returns true, if this number is equivalent to 0 or 1 numbers in the boolean-domain(+𝔹+).
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/ruuuby/math/set_theory/discrete/integer_numbers.rb', line 21 def |