Class: Elesai::LSI::PhysicalDrive::FirmwareState
- Inherits:
-
Struct
- Object
- Struct
- Elesai::LSI::PhysicalDrive::FirmwareState
- Defined in:
- lib/elesai/lsi.rb
Instance Attribute Summary collapse
-
#spin ⇒ Object
Returns the value of attribute spin.
-
#state ⇒ Object
Returns the value of attribute state.
Instance Method Summary collapse
Instance Attribute Details
#spin ⇒ Object
Returns the value of attribute spin
157 158 159 |
# File 'lib/elesai/lsi.rb', line 157 def spin @spin end |
#state ⇒ Object
Returns the value of attribute state
157 158 159 |
# File 'lib/elesai/lsi.rb', line 157 def state @state end |
Instance Method Details
#to_s ⇒ Object
158 159 160 |
# File 'lib/elesai/lsi.rb', line 158 def to_s "#{self.state}:#{self.spin}" end |