Skip to content

Commit db014cd

Browse files
committed
Fix attr_reader style
1 parent 5ce7db2 commit db014cd

2 files changed

Lines changed: 14 additions & 13 deletions

File tree

lib/unicode_plot/boxplot.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ def initialize(data, width, color, min_x, max_x, **kw)
1919
super(**kw)
2020
end
2121

22-
attr_reader :min_x, :max_x
22+
attr_reader :min_x
23+
attr_reader :max_x
2324

2425
def n_data
2526
@data.length

lib/unicode_plot/plot.rb

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@ def initialize(title: nil,
3030
@auto_color = 0
3131
end
3232

33-
attr_reader :title,
34-
:xlabel,
35-
:ylabel,
36-
:border,
37-
:margin,
38-
:padding,
39-
:labels_left,
40-
:colors_left,
41-
:labels_right,
42-
:colors_right,
43-
:decorations,
44-
:colors_deco
33+
attr_reader :title
34+
attr_reader :xlabel
35+
attr_reader :ylabel
36+
attr_reader :border
37+
attr_reader :margin
38+
attr_reader :padding
39+
attr_reader :labels_left
40+
attr_reader :colors_left
41+
attr_reader :labels_right
42+
attr_reader :colors_right
43+
attr_reader :decorations
44+
attr_reader :colors_deco
4545

4646
def title_given?
4747
title && title != ""

0 commit comments

Comments
 (0)