Sha256: e997dfade61c7f93bc7dfa2b5ffd59cd1b03fd191222ccc3e8b37beaba954bf3
Contents?: true
Size: 201 Bytes
Versions: 12
Compression:
Stored size: 201 Bytes
Contents
def strip_content(content) if content.kind_of? Array content.collect { |i| strip_content(i) }.delete_if { |i| i == [] } else content.respond_to?(:strip) ? content.strip : content end end
Version data entries
12 entries across 12 versions & 1 rubygems