Module: FogExtensions::Proxmox::Disk

Extended by:
ActiveSupport::Concern
Defined in:
app/models/concerns/fog_extensions/proxmox/disk.rb

Instance Method Summary collapse

Instance Method Details

#templated?Boolean

Returns:

  • (Boolean)


24
25
26
# File 'app/models/concerns/fog_extensions/proxmox/disk.rb', line 24

def templated?
    volid ? volid.match(/^([\w-]+)[:]base-(\d+)-disk-(\d+)/) : false
end