Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/inat-channel/data_types.rb
Instance Method Summary collapse
Instance Method Details
#to_tags ⇒ Object
50 51 52 53 54 55 56 57 58 |
# File 'lib/inat-channel/data_types.rb', line 50 def self.map do |item| if item.respond_to?(:to_tag) item.to_tag else item&.to_s.to_tag end end.compact end |