Class: Elesai::LSI::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



111
112
113
# File 'lib/elesai/lsi.rb', line 111

def primary
  @primary
end

#secondaryObject

Returns the value of attribute secondary

Returns:

  • (Object)

    the current value of secondary



111
112
113
# File 'lib/elesai/lsi.rb', line 111

def secondary
  @secondary
end

Instance Method Details

#to_sObject



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

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