Skip to content

struct ActionController::Route::Param::ConvertInt128
inherits ActionController::Route::Param::Conversion #

Constructors#

.new(base : Int32 = 10, whitespace : Bool = true, underscore : Bool = false, prefix : Bool = false, strict : Bool = true, leading_zero_is_octal : Bool = false)#

View source

Methods#

#convert(raw : String)#

convert should typically return nil if the conversion failed this allows support for Union types, however may not be practical or desirable for most.

Nilable Unions against a single type that raises an error is supported

View source