You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.markdown
+28Lines changed: 28 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -209,6 +209,8 @@ Converts a string to and from base64 encoding. Requires an `action` ('encode', '
209
209
210
210
For backward compatibility, `method` will be set as `default` if not specified.
211
211
212
+
*Please note:* This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
Requires a single boolean as input. *Type*: rvalue.
265
267
268
+
#### `camelcase`
269
+
270
+
Converts the case of a string or all strings in an array to camel case. *Type*: rvalue.
271
+
272
+
*Please note:* This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
273
+
266
274
#### `capitalize`
267
275
268
276
Capitalizes the first character of a string or array of strings and lowercases the remaining characters of each string. Requires either a single string or an array as an input. *Type*: rvalue.
269
277
278
+
*Please note:* This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
279
+
270
280
#### `ceiling`
271
281
272
282
Returns the smallest integer greater than or equal to the argument. Takes a single numeric value as an argument. *Type*: rvalue.
@@ -349,6 +359,8 @@ Deletes a determined indexed value from an array. For example, `delete_at(['a','
349
359
350
360
Deletes all instances of a given element from an array or hash that match a provided regular expression. A string will be treated as a one-item array.
351
361
362
+
*Please note:* This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
@@ -477,6 +489,8 @@ See also [unix2dos](#unix2dos).
477
489
478
490
Converts the case of a string or of all strings in an array to lowercase. *Type*: rvalue.
479
491
492
+
*Please note:* This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
493
+
480
494
#### `empty`
481
495
482
496
Returns true if the argument is an array or hash that contains no elements, or an empty string. Returns false when the argument is a numerical value. *Type*: rvalue.
@@ -1014,6 +1028,8 @@ The third argument to this function is the salt to use.
1014
1028
1015
1029
*Type*: rvalue.
1016
1030
1031
+
**Please note:** This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
1032
+
1017
1033
**Note:** this uses the Puppet master's implementation of crypt(3). If your environment contains several different operating systems, ensure that they are compatible before using this function.
1018
1034
1019
1035
#### `range`
@@ -1093,6 +1109,8 @@ Returns the number of elements in a string, an array or a hash. May get confused
1093
1109
1094
1110
Sorts strings and arrays lexically. *Type*: rvalue.
1095
1111
1112
+
*Please note:* This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
1113
+
1096
1114
#### `squeeze`
1097
1115
1098
1116
Returns a new string where runs of the same character that occur in this set are replaced by a single character. *Type*: rvalue.
@@ -1106,10 +1124,14 @@ Converts certain strings to a boolean. This attempts to convert strings that con
1106
1124
Converts a string to a salted-SHA512 password hash, used for OS X versions >= 10.7. Given any string, this function returns a hex version of a salted-SHA512 password hash, which can be inserted into your Puppet
1107
1125
manifests as a valid password attribute. *Type*: rvalue.
1108
1126
1127
+
*Please note:* This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
1128
+
1109
1129
#### `strftime`
1110
1130
1111
1131
Returns formatted time. For example, `strftime("%s")` returns the time since Unix epoch, and `strftime("%Y-%m-%d")` returns the date. *Type*: rvalue.
1112
1132
1133
+
*Please note:* This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
1134
+
1113
1135
*Format:*
1114
1136
1115
1137
* `%a`: The abbreviated weekday name ('Sun')
@@ -1175,6 +1197,8 @@ For example:
1175
1197
1176
1198
Swaps the existing case of a string. For example, `swapcase("aBcD")` results in "AbCd". *Type*: rvalue.
1177
1199
1200
+
*Please note:* This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
1201
+
1178
1202
#### `time`
1179
1203
1180
1204
Returns the current Unix epoch time as an integer. For example, `time()` returns something like '1311972653'. *Type*: rvalue.
@@ -1262,10 +1286,14 @@ See also [dos2unix](#dos2unix).
1262
1286
1263
1287
Converts an object, array or hash of objects that respond to upcase to uppercase. For example, `upcase('abcd')` returns 'ABCD'. *Type*: rvalue.
1264
1288
1289
+
*Please note:* This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
1290
+
1265
1291
#### `uriescape`
1266
1292
1267
1293
URLEncodes a string or array of strings. Requires either a single string or an array as an input. *Type*: rvalue.
1268
1294
1295
+
*Please note:* This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
1296
+
1269
1297
#### `validate_absolute_path`
1270
1298
1271
1299
Validates that a given string represents an absolute path in the filesystem. Works for Windows and Unix style paths.
Copy file name to clipboardExpand all lines: lib/puppet/parser/functions/base64.rb
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,6 @@
1
+
2
+
# Please note: This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
Copy file name to clipboardExpand all lines: lib/puppet/parser/functions/camelcase.rb
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
#
2
2
# camelcase.rb
3
+
# Please note: This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
Copy file name to clipboardExpand all lines: lib/puppet/parser/functions/capitalize.rb
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
#
2
2
# capitalize.rb
3
+
# Please note: This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
Copy file name to clipboardExpand all lines: lib/puppet/parser/functions/delete_regex.rb
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
#
2
-
# delete_regex.rb
2
+
# delete_regex.rb
3
+
# Please note: This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
Copy file name to clipboardExpand all lines: lib/puppet/parser/functions/downcase.rb
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
#
2
2
# downcase.rb
3
+
# Please note: This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
Copy file name to clipboardExpand all lines: lib/puppet/parser/functions/pw_hash.rb
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,6 @@
1
+
2
+
# Please note: This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
Copy file name to clipboardExpand all lines: lib/puppet/parser/functions/sort.rb
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
#
2
-
# sort.rb
2
+
# sort.rb
3
+
# Please note: This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
Copy file name to clipboardExpand all lines: lib/puppet/parser/functions/str2saltedsha512.rb
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
#
2
-
# str2saltedsha512.rb
2
+
# str2saltedsha512.rb
3
+
# Please note: This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
Copy file name to clipboardExpand all lines: lib/puppet/parser/functions/strftime.rb
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
#
2
-
# strftime.rb
2
+
# strftime.rb
3
+
# Please note: This function is an implementation of a Ruby class and as such may not be entirely UTF8 compatible. To ensure compatibility please use this function with Ruby 2.4.0 or greater - https://bugs.ruby-lang.org/issues/10085.
0 commit comments