Module: ActiveFile::HashAndArrayFiles

Included in:
ActiveJSON::Base, ActiveYaml::Base
Defined in:
lib/active_file/hash_and_array_files.rb

Instance Method Summary collapse

Instance Method Details

#raw_dataObject



3
4
5
6
7
8
9
# File 'lib/active_file/hash_and_array_files.rb', line 3

def raw_data
  if multiple_files?
    data_from_multiple_files
  else
    load_path(full_path)
  end
end