class Avram::PermittedAttribute(T)
Defined in:
avram/permitted_attribute.crConstructors
Instance methods inherited from class Avram::Attribute(T)
[](key)
[],
[]?(key)
[]?,
add_error(message : String = "is invalid")add_error(message : Proc | Avram::CallableErrorMessage) add_error, allow_blank=(allow_blank : Bool) allow_blank=, allow_blank? : Bool allow_blank?, changed?(from : T | Nil | Nothing = Nothing.new, to : T | Nil | Nothing = Nothing.new) : Bool changed?, errors : Array(String) errors, extract(params : Avram::Paramable) extract, name : Symbol name, original_value : T | Nil original_value, param : Avram::Uploadable | Array(String) | String param, param_key : String param_key, permitted permitted, reset_errors reset_errors, to_f to_f, to_f64 to_f64, to_i to_i, to_i32 to_i32, to_i64 to_i64, to_s(time_format : String)
to_s to_s, valid? : Bool valid?, value : T | Nil value, value=(value : T | Nil) value=