Class | XhochY::Drossellog::DailyReport |
In: |
xhochy/drossellog/dailyreport.rb
|
Parent: | Object |
Reprents the daily report for 1 Domain
Creates a new XYDailyReport Object
Takes a (Lib)XML-Node as information provider
# File xhochy/drossellog/dailyreport.rb, line 13 13: def initialize(node) 14: @ipcounter = IPCounter.new() 15: 16: node.find('//logs/line').each do |l| 17: # parse a line 18: #puts '|' + l.path + '|' + l.find('agent').to_a[0].to_s + '|' 19: end 20: end