Method: MetricFu::Record#method_missing
- Defined in:
- lib/metric_fu/metrics/hotspots/analysis/record.rb
#method_missing(name, *args, &block) ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/metric_fu/metrics/hotspots/analysis/record.rb', line 9 def method_missing(name, *args, &block) key = name.to_s if key == "fetch" @data.send(name, *args, &block) elsif @data.has_key?(key) @data[key] else super(name, *args, &block) end end |