lib/app/models/fileclient/data_file.rb
# Reads the attachment-specific attribute on the instance. See instance_write
# for more details.
Reads the attachment-specific attribute on the instance. See instance_write
for more details.
Reads the attachment - specific attribute on the instance . See instance_write for more details .
def instance_read(attr)
      getter = :"#{name}_#{attr}"
      responds = instance.respond_to?(getter)
      cached = self.instance_variable_get("@_#{getter}")
      return cached if cached
      instance.send(getter) 
    end
def instance_read ( attr ) getter = :" #{ name } _ #{ attr } " responds = instance . respond_to? ( getter ) cached = self . instance_variable_get ( "@_#{getter}" ) return cached if cached instance . send ( getter ) end
Reads the attachment-specific attribute on the instance.
Reads the attachment - specific attribute on the instance .
attr