X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/09c67d9323c7d379d4c6de5dc0457b6de16cff14..814ebbe864806750e95c3df954a47f4b0007c5e4:/vendor/plugins/gruff/lib/gruff/deprecated.rb diff --git a/vendor/plugins/gruff/lib/gruff/deprecated.rb b/vendor/plugins/gruff/lib/gruff/deprecated.rb deleted file mode 100644 index be254b5..0000000 --- a/vendor/plugins/gruff/lib/gruff/deprecated.rb +++ /dev/null @@ -1,39 +0,0 @@ - -## -# A mixin for methods that need to be deleted or have been -# replaced by cleaner code. - -module Gruff - module Deprecated - - def scale_measurements - setup_graph_measurements - end - - def total_height - @rows + 10 - end - - def graph_top - @graph_top * @scale - end - - def graph_height - @graph_height * @scale - end - - def graph_left - @graph_left * @scale - end - - def graph_width - @graph_width * @scale - end - - # TODO Should be calculate_graph_height - # def setup_graph_height - # @graph_height = @graph_bottom - @graph_top - # end - - end -end