Module: Gruff::Deprecated
- Included in:
- Base
- Defined in:
- lib/gruff/deprecated.rb
Instance Method Summary collapse
- #graph_height ⇒ Object
- #graph_left ⇒ Object
- #graph_top ⇒ Object
- #graph_width ⇒ Object
- #scale_measurements ⇒ Object
- #total_height ⇒ Object
Instance Method Details
#graph_height ⇒ Object
21 22 23 |
# File 'lib/gruff/deprecated.rb', line 21 def graph_height @graph_height * @scale end |
#graph_left ⇒ Object
25 26 27 |
# File 'lib/gruff/deprecated.rb', line 25 def graph_left @graph_left * @scale end |
#graph_top ⇒ Object
17 18 19 |
# File 'lib/gruff/deprecated.rb', line 17 def graph_top @graph_top * @scale end |
#graph_width ⇒ Object
29 30 31 |
# File 'lib/gruff/deprecated.rb', line 29 def graph_width @graph_width * @scale end |
#scale_measurements ⇒ Object
9 10 11 |
# File 'lib/gruff/deprecated.rb', line 9 def scale_measurements setup_graph_measurements end |
#total_height ⇒ Object
13 14 15 |
# File 'lib/gruff/deprecated.rb', line 13 def total_height @rows + 10 end |