Class: Sistrix::Monitoring::Report::Record
- Inherits:
-
Object
- Object
- Sistrix::Monitoring::Report::Record
- Includes:
- Record
- Defined in:
- lib/sistrix/monitoring/report.rb
Instance Method Summary collapse
-
#initialize(xml_node) ⇒ Record
constructor
A new instance of Record.
Methods included from Record
Constructor Details
#initialize(xml_node) ⇒ Record
Returns a new instance of Record.
61 62 63 64 65 66 |
# File 'lib/sistrix/monitoring/report.rb', line 61 def initialize(xml_node) @data = {} @data[:date] = Time.parse(xml_node['date'].to_s.strip) @data[:format] = xml_node['format'].to_s.strip end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Sistrix::Record