Method: Focuslight::SimpleGraph#to_hash
- Defined in:
- lib/focuslight/graph.rb
#to_hash ⇒ Object
123 124 125 126 127 128 129 130 131 132 133 134 |
# File 'lib/focuslight/graph.rb', line 123 def to_hash simple = { mode: @mode, color: @color, ulimit: @ulimit, llimit: @llimit, type: @type, adjust: @adjust, adjustval: @adjustval, unit: @unit, complex: false, md5: @md5, meta: , } hash = super hash.merge(simple) end |