Method: Set#empty?
- Defined in:
- lib/set.rb
permalink #empty? ⇒ Boolean
Returns true if the set contains no elements.
307 308 309 |
# File 'lib/set.rb', line 307 def empty? @hash.empty? end |
Returns true if the set contains no elements.
307 308 309 |
# File 'lib/set.rb', line 307 def empty? @hash.empty? end |