| 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 67
67: def self.[](device)
68: raise NoSuchDeviceError unless @@devices.has_key?(device)
69:
70: @@devices[device]
71: end
# File lib/virt-p2v/blockdevice.rb, line 67
67: def self.[](device)
68: raise NoSuchDeviceError unless @@devices.has_key?(device)
69:
70: @@devices[device]
71: end
# File lib/virt-p2v/blockdevice.rb, line 75
75: def initialize(device, type)
76: @device = device
77: @type = type
78:
79: @@devices[device] = self
80: end