Sha256: ddcf04ccd627c7eeb32e59cf175edecb754aff9b5dc5df9c318e36b94a1dc857
Contents?: true
Size: 840 Bytes
Versions: 71
Compression:
Stored size: 840 Bytes
Contents
{ "schema_type": "object", "schema_version": "1.1", "name": "squish", "path": "packages/ree_string/package/ree_string/functions/squish.rb", "mount_as": "fn", "class": "ReeString::Squish", "factory": null, "methods": [ { "doc": "Returns the string, first removing all whitespace on both ends of\nthe string, and then changing remaining consecutive whitespace\ngroups into one space each.\n\nNote that it handles both ASCII and Unicode whitespace.\n\n squish(%{ Multi-line\n string }) # => \"Multi-line string\"\n squish(\" foo bar \n \t boo\") # => \"foo bar boo\"", "throws": [ ], "return": "String", "args": [ { "arg": "str", "arg_type": "req", "type": "String" } ] } ], "links": [ ] }
Version data entries
71 entries across 71 versions & 1 rubygems