Class: Elesai::LSIArray::VirtualDrive::RaidLevel

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#primaryObject

Returns the value of attribute primary

Returns:

  • (Object)

    the current value of primary



107
108
109
# File 'lib/elesai/lsi.rb', line 107

def primary
  @primary
end

#secondaryObject

Returns the value of attribute secondary

Returns:

  • (Object)

    the current value of secondary



107
108
109
# File 'lib/elesai/lsi.rb', line 107

def secondary
  @secondary
end

Instance Method Details

#to_sObject



108
# File 'lib/elesai/lsi.rb', line 108

def to_s ; "raid%s:raid%s" % [self.primary,self.secondary] end