Class: Math::SetTheory::UniversalSet
- Includes:
- Singleton
- Defined in:
- lib/ruuuby/math/set_theory/discrete/universal_set.rb
Instance Attribute Summary
Attributes inherited from NumberSet
Attributes inherited from Closure
Instance Method Summary collapse
- #_β?(n) ⇒ Boolean
-
#initialize ⇒ UniversalSet
constructor
A new instance of UniversalSet.
Methods inherited from NumberSet
#countable?, #countably_infinite?, #finite?, #uncountable?, #β?, #β?, #β?, #β?, #β?, #β ?, #β?, #β?
Constructor Details
#initialize ⇒ UniversalSet
Returns a new instance of UniversalSet.
10 11 12 13 |
# File 'lib/ruuuby/math/set_theory/discrete/universal_set.rb', line 10 def initialize super(:π, ::Math::SetTheory::NumberSet::AlephNumbers::ONE) @superset_of = [:πΉ, :β, :π, :β€, :β, :πΈα΅£, :π, :β, :πΈ, :β] end |
Instance Method Details
#_β?(n) ⇒ Boolean
16 |
# File 'lib/ruuuby/math/set_theory/discrete/universal_set.rb', line 16 def _β?(n); n.finite?; end |