Class: ForemanMaintain::Utils::Disk::NilDevice
- Inherits:
-
Object
- Object
- ForemanMaintain::Utils::Disk::NilDevice
- Defined in:
- lib/foreman_maintain/utils/disk/nil_device.rb
Constant Summary collapse
- NULL =
'NULL'.freeze
Instance Attribute Summary collapse
-
#dir ⇒ Object
Returns the value of attribute dir.
-
#name ⇒ Object
Returns the value of attribute name.
-
#read_speed ⇒ Object
Returns the value of attribute read_speed.
-
#unit ⇒ Object
Returns the value of attribute unit.
Instance Method Summary collapse
-
#initialize ⇒ NilDevice
constructor
A new instance of NilDevice.
Constructor Details
Instance Attribute Details
#dir ⇒ Object
Returns the value of attribute dir.
7 8 9 |
# File 'lib/foreman_maintain/utils/disk/nil_device.rb', line 7 def dir @dir end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/foreman_maintain/utils/disk/nil_device.rb', line 7 def name @name end |
#read_speed ⇒ Object
Returns the value of attribute read_speed.
7 8 9 |
# File 'lib/foreman_maintain/utils/disk/nil_device.rb', line 7 def read_speed @read_speed end |
#unit ⇒ Object
Returns the value of attribute unit.
7 8 9 |
# File 'lib/foreman_maintain/utils/disk/nil_device.rb', line 7 def unit @unit end |