Module: ActiveData::Model::Extensions::String::ClassMethods

Defined in:
lib/active_data/model/extensions/string.rb

Instance Method Summary collapse

Instance Method Details

#active_data_type_cast(value) ⇒ Object



8
9
10
# File 'lib/active_data/model/extensions/string.rb', line 8

def active_data_type_cast value
  value.to_s if value.present?
end