On this page
Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class · Ruby 4.1
Psych::ScalarScanner
Scan scalars for built in types
Class methods 1
Instance methods 3
Constants
No documentation available
No documentation available
Taken from yaml.org/type/float.html Base 60, [-+]inf and NaN are handled separately
Same as above, but allows commas. Not to YML spec, but kept for backwards compatibility
Taken from yaml.org/type/int.html and modified to ensure at least one numerical symbol exists
Taken from yaml.org/type/timestamp.html
Attributes
Read
No documentation available