Sha256: 09bc51cb4fba1b880798646f9567ed60550b74cff091e17a85bbbd3ea3575f79
Contents?: true
Size: 127 Bytes
Versions: 9
Compression:
Stored size: 127 Bytes
Contents
class String def filter_prefix prefix self.starts_with?(prefix) ? self[prefix.to_s.length, self.length] : self end end
Version data entries
9 entries across 9 versions & 1 rubygems