Class SafeYAML::Transform::ToInteger
In: lib/safe_yaml/transform/to_integer.rb
Parent: Object

Methods

Constants

MATCHERS = Deep.freeze([ /\A[-+]?(0|([1-9][0-9_,]*))\Z/, # decimal /\A0[0-7]+\Z/, # octal /\A0x[0-9a-f]+\Z/i, # hexadecimal /\A0b[01_]+\Z/ # binary

Public Instance methods

[Validate]