lib/comana/machineinfo.rb in comana-0.0.8 vs lib/comana/machineinfo.rb in comana-0.0.9
- old
+ new
@@ -29,7 +29,16 @@
"#{series}"
end
@data[series]
end
+ #def has_info?(host)
+ # series = host.sub(/\d*$/, "")
+ # unless @data.has_key?(series)
+ # raise NoEntryError,
+ # "#{series}"
+ # end
+ # @data[series]
+ #end
+
end