Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/goby/extension.rb
Overview
Provides additional methods for Array.
Instance Method Summary collapse
-
#nonempty? ⇒ Boolean
Returns true iff the array is not empty.
Instance Method Details
#nonempty? ⇒ Boolean
Returns true iff the array is not empty.
6 7 8 |
# File 'lib/goby/extension.rb', line 6 def nonempty? return !empty? end |