Sha256: 397d5ba83c4827a55042ff4b081f4c2c77c8a7d51698a7ec137242882ffe8392
Contents?: true
Size: 400 Bytes
Versions: 16
Compression:
Stored size: 400 Bytes
Contents
class FnordMetric::HtmlWidget < FnordMetric::Widget def data super.merge( :html => @opts[:html] ) end def add_gauges(gauges) @gauges = [] @tick = 0 if !gauges.blank? error! "initializing a html widget with gauges is void" end end def data_gauges {} end def default_range(now=Time.now) 0..0 end def has_tick? false end end
Version data entries
16 entries across 16 versions & 3 rubygems