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
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 ∋?(n) if n.respond_to?(:∅?) n.∅? else false end end |