Sha256: cbb478d1f76de5085b6ccb3b853f66ed81cb2c0ad08a07ec11133b5e863223bb
Contents?: true
Size: 659 Bytes
Versions: 60
Compression:
Stored size: 659 Bytes
Contents
# frozen_string_literal: true module Avm module Instances class Base module AutoValues module Filesystem def auto_fs_path inherited_entry_value(:host_id, :fs_path) { |v| v + '/' + id } end def auto_data_fs_path inherited_entry_value(:host_id, :data_fs_path) { |v| v + '/' + id } end def auto_fs_url read_entry_optional('ssh.url').if_present do |ssh_url| read_entry_optional('fs_path').if_present do |fs_path| "#{ssh_url}#{fs_path}" end end end end end end end end
Version data entries
60 entries across 60 versions & 1 rubygems