class PCPEasy::PMAPI::PmDesc
Public Instance Methods
==(other)
click to toggle source
# File lib/pcp_easy/pmapi/pm_desc.rb, line 37 def ==(other) self.class == other.class && \ pmid == other.pmid && \ type == other.type && \ indom == other.indom && \ sem == other.sem && \ units == other.units end
indom()
click to toggle source
# File lib/pcp_easy/pmapi/pm_desc.rb, line 25 def indom self[:indom] end
inspect()
click to toggle source
# File lib/pcp_easy/pmapi/pm_desc.rb, line 13 def inspect "<#{self.class.to_s}:#{object_id} pmid=#{pmid} type=#{type} indom=#{indom} sem=#{sem} units=#{units.inspect}>" end
pmid()
click to toggle source
# File lib/pcp_easy/pmapi/pm_desc.rb, line 17 def pmid self[:pmid] end
sem()
click to toggle source
# File lib/pcp_easy/pmapi/pm_desc.rb, line 29 def sem self[:sem] end
type()
click to toggle source
# File lib/pcp_easy/pmapi/pm_desc.rb, line 21 def type self[:type] end
units()
click to toggle source
# File lib/pcp_easy/pmapi/pm_desc.rb, line 33 def units @units ||= PmUnits.new(self[:units]) end