Sha256: bd3ba76fe37ec72b80335a30bc4ba1dfb3bb920c503aba36bfe0fad7fc215933
Contents?: true
Size: 250 Bytes
Versions: 12
Compression:
Stored size: 250 Bytes
Contents
# frozen_string_literal: true class String # Returns a copy of string with all spaces removed. # # @return [String] with all spaces trimmed which includes all leading, trailing and embedded spaces. def trim_all gsub(/\s+/, '') end end
Version data entries
12 entries across 12 versions & 1 rubygems