Class: Array
- Includes:
- ArrayCleanup, ArrayNestedHash, ArrayTags, Doing::ChronifyArray
- Defined in:
- lib/doing/good.rb,
lib/doing/array/array.rb,
lib/doing/chronify/chronify.rb
Overview
Array helpers
Direct Known Subclasses
Instance Method Summary collapse
-
#good? ⇒ Boolean
Tests if object is nil or empty.
-
#utf8 ⇒ Array
Force UTF-8 encoding of strings in array.
Methods included from Doing::ChronifyArray
#time_string, #to_abbr, #to_natural, #to_years
Instance Method Details
#good? ⇒ Boolean
Tests if object is nil or empty
59 60 61 |
# File 'lib/doing/good.rb', line 59 def good? !nil? && !empty? end |