Module: Avm::Instances::Base::AutoValues::Data

Defined in:
lib/avm/instances/base/auto_values/data.rb

Instance Method Summary collapse

Instance Method Details

#auto_data_default_dump_pathObject



10
11
12
13
14
15
16
17
18
19
20
# File 'lib/avm/instances/base/auto_values/data.rb', line 10

def auto_data_default_dump_path
  ::Avm::Self::Instance
    .default
    .read_entry_optional(::Avm::Self::Instance::EntryKeys::DATA_DEFAULT_PATH)
    .if_present do |v|
    ::File.join(
      v,
      "#{id}#{data_package.data_file_extension}"
    )
  end
end