Class: Math::SetTheory::NullSet
- Includes:
- Singleton
- Defined in:
- lib/ruuuby/math/set_theory/discrete/null_set.rb
Instance Attribute Summary
Attributes inherited from NumberSet
Attributes inherited from Closure
Instance Method Summary collapse
-
#initialize ⇒ NullSet
constructor
A new instance of NullSet.
- #∋?(n) ⇒ Boolean
Methods inherited from NumberSet
#countable?, #countably_infinite?, #finite?, #uncountable?, #∌?, #⊂?, #⊃?, #⊄?, #⊅?, #⊆?, #⊇?
Constructor Details
#initialize ⇒ NullSet
Returns a new instance of NullSet.
10 11 12 |
# File 'lib/ruuuby/math/set_theory/discrete/null_set.rb', line 10 def initialize super(: |
Instance Method Details
#∋?(n) ⇒ Boolean
17 18 19 20 21 22 23 |
# File 'lib/ruuuby/math/set_theory/discrete/null_set.rb', line 17 def |