add_typecast_on_load_columns(*columns)click to toggle source
Add additional columns to typecast on load for this model.
# File lib/sequel/plugins/typecast_on_load.rb, line 35defadd_typecast_on_load_columns(*columns)
@typecast_on_load_columns.concat(columns)
end
inherited(subclass)click to toggle source
Give the subclass a copy of the typecast on load columns.
# File lib/sequel/plugins/typecast_on_load.rb, line 40definherited(subclass)
supersubclass.instance_variable_set(:@typecast_on_load_columns, typecast_on_load_columns.dup)
end