module Athena::Types

Overview

Converters for converting a String param into T.

Extended Modules

Defined in:

types.cr

Instance Method Summary

Instance Method Detail

def convert_type(val : String, t : Int8.class) : Int8 #

[View source]
def convert_type(val : String, t : Int16.class) : Int16 #

[View source]
def convert_type(val : String, t : Int32.class) : Int32 #

[View source]
def convert_type(val : String, t : Int64.class) : Int64 #

[View source]
def convert_type(val : String, t : UInt8.class) : UInt8 #

[View source]
def convert_type(val : String, t : UInt16.class) : UInt16 #

[View source]
def convert_type(val : String, t : UInt32.class) : UInt32 #

[View source]
def convert_type(val : String, t : UInt64.class) : UInt64 #

[View source]
def convert_type(val : String, t : Float32.class) : Float32 #

[View source]
def convert_type(val : String, t : Float64.class) : Float64 #

[View source]
def convert_type(val : String, t : Bool.class) : Bool #

[View source]
def convert_type(val : String, t : String.class) : String #

[View source]
def convert_type(val : String, t : HTTP::Params.class) : HTTP::Params.class #

[View source]