module ActiveLdap::AttributeMethods::BeforeTypeCast
def attribute_before_type_cast(attr)
def attribute_before_type_cast(attr) get_attribute_before_type_cast(attr)[1] end
def get_attribute_before_type_cast(name, force_array=false)
def get_attribute_before_type_cast(name, force_array=false) name = to_real_attribute_name(name) value = @data[name] value = [] if value.nil? [name, array_of(value, force_array)] end