| Class | VirtP2V::RemovableBlockDevice |
| In: |
lib/virt-p2v/blockdevice.rb
lib/virt-p2v/blockdevice.rb |
| Parent: | Object |
| device | [R] | |
| device | [R] | |
| type | [R] | |
| type | [R] |
# File lib/virt-p2v/blockdevice.rb, line 49
49: def self.[](device)
50: raise NoSuchDeviceError unless @@devices.has_key?(device)
51:
52: @@devices[device]
53: end
# File lib/virt-p2v/blockdevice.rb, line 49
49: def self.[](device)
50: raise NoSuchDeviceError unless @@devices.has_key?(device)
51:
52: @@devices[device]
53: end
# File lib/virt-p2v/blockdevice.rb, line 57
57: def initialize(device, type)
58: @device = device
59: @type = type
60:
61: @@devices[device] = self
62: end