module Pon::Cast

Extended Modules

Defined in:

pon/cast.cr

Instance Method Summary

Instance Method Detail

def cast(value : Nil, type) #

[View source]
def cast(value, type : Bool.class) #

[View source]
def cast(value, type : Int32.class) #

[View source]
def cast(value, type : Int64.class) #

[View source]
def cast(value, type : String.class) #

[View source]
def cast(value, type : Enum.class) #

[View source]
def cast(value, type : Time::Span.class) #

[View source]
def cast(value, type : Time.class) #

[View source]