File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3
3
# This function is compatible with the stdlib function with the same name.
4
4
#
5
5
# The function does the following:
6
- # * For a `String` the conversion replaces all combinations of *_<char>* with an upcased version of the
6
+ # * For a `String` the conversion replaces all combinations of ` *_<char>*` with an upcased version of the
7
7
# character following the _. This is done using Ruby system locale which handles some, but not all
8
8
# special international up-casing rules (for example German double-s ß is upcased to "Ss").
9
9
# * For an `Iterable[Variant[String, Numeric]]` (for example an `Array`) each value is capitalized and the conversion is not recursive.
Original file line number Diff line number Diff line change 661
661
# | Format | Default formats
662
662
# | ------ | ---------------
663
663
# | s | binary as unquoted UTF-8 characters (errors if byte sequence is invalid UTF-8). Alternate form escapes non ascii bytes.
664
- # | p | 'Binary("<base64strict>")'
665
- # | b | '<base64>' - base64 string with newlines inserted
666
- # | B | '<base64strict>' - base64 strict string (without newlines inserted)
667
- # | u | '<base64urlsafe>' - base64 urlsafe string
668
- # | t | 'Binary' - outputs the name of the type only
669
- # | T | 'BINARY' - output the name of the type in all caps only
664
+ # | p | ` 'Binary("<base64strict>")'`
665
+ # | b | ` '<base64>'` - base64 string with newlines inserted
666
+ # | B | ` '<base64strict>'` - base64 strict string (without newlines inserted)
667
+ # | u | ` '<base64urlsafe>'` - base64 urlsafe string
668
+ # | t | ` 'Binary'` - outputs the name of the type only
669
+ # | T | ` 'BINARY'` - output the name of the type in all caps only
670
670
#
671
671
# * The alternate form flag `#` will quote the binary or base64 text output.
672
672
# * The format `%#s` allows invalid UTF-8 characters and outputs all non ascii bytes
You can’t perform that action at this time.
0 commit comments