Method: Stats#show_sample
- Defined in:
- lib/ucslib/service/ucs/stats.rb
#show_sample(xml, statname, all = false) ⇒ Object
108 109 110 111 112 113 114 |
# File 'lib/ucslib/service/ucs/stats.rb', line 108 def show_sample(xml,statname,all=false) list = xml.xpath("configResolveClasses/outConfigs/#{statname}") list = [list.first] unless all list.each do |i| show_attributes(i) end end |