Method: Gruff::Dot#initialize
- Defined in:
- lib/gruff/dot.rb
#initialize(target_width = DEFAULT_TARGET_WIDTH) ⇒ Dot
Returns a new instance of Dot.
24 25 26 27 28 |
# File 'lib/gruff/dot.rb', line 24 def initialize(target_width = DEFAULT_TARGET_WIDTH) super @has_left_labels = true @dot_style = 'circle' end |