Class: PulseMeter::Visualizer
- Inherits:
-
Object
- Object
- PulseMeter::Visualizer
- Defined in:
- lib/pulse-meter/visualizer.rb
Class Method Summary collapse
Class Method Details
.draw {|layout_cofigurator| ... } ⇒ Object
34 35 36 37 38 |
# File 'lib/pulse-meter/visualizer.rb', line 34 def self.draw(&block) layout_cofigurator = PulseMeter::Visualize::DSL::Layout.new yield(layout_cofigurator) layout_cofigurator.to_data end |