Class: Elesai::LSI::PhysicalDrive::FirmwareState

Inherits:
Struct
  • Object
show all
Defined in:
lib/elesai/lsi.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#spinObject

Returns the value of attribute spin

Returns:

  • (Object)

    the current value of spin



157
158
159
# File 'lib/elesai/lsi.rb', line 157

def spin
  @spin
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



157
158
159
# File 'lib/elesai/lsi.rb', line 157

def state
  @state
end

Instance Method Details

#to_sObject



158
159
160
# File 'lib/elesai/lsi.rb', line 158

def to_s
  "#{self.state}:#{self.spin}"
end