Sha256: d42b1fe8ee0892aa24e904e82592f74dedbbf9fa91145ed6725f22f10f32159b
Contents?: true
Size: 568 Bytes
Versions: 2
Compression:
Stored size: 568 Bytes
Contents
# # Authors: Christopher M Wood (<woodc@us.ibm.com>) # John F Hutchinson (<jfhutchi@us.ibm.com) # © Copyright IBM Corporation 2015. # # LICENSE: MIT (http://opensource.org/licenses/MIT) # class Lun attr_reader :name, :pvid, :size_in_mb def initialize(name,pvid, size_in_mb) @name = name #@serial_number = serial_number @pvid = pvid @size_in_mb = size_in_mb.to_i end #Override == to test equality of two disk's PVIDs?? def ==(other_lun) return self.pvid == other_lun.pvid end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rbvppc-1.0.2 | lib/rbvppc/lun.rb |
rbvppc-1.0.1 | lib/rbvppc/lun.rb |