Class: LVM::LogicalVolume
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- LVM::LogicalVolume
- Defined in:
- lib/lvm/logical_volume.rb
Instance Method Summary collapse
-
#open? ⇒ Boolean
Helpers.
- #snapshot? ⇒ Boolean
Instance Method Details
#open? ⇒ Boolean
Helpers
6 |
# File 'lib/lvm/logical_volume.rb', line 6 def open?; device_open; end |
#snapshot? ⇒ Boolean
8 |
# File 'lib/lvm/logical_volume.rb', line 8 def snapshot?; volume_type == :snapshot ? true : false; end |