diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-12-02 22:31:05 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-12-02 22:32:22 -0200 |
commit | d7d11f0dab7f2875d04c17921e12fe62ac6e9566 (patch) | |
tree | 7f30fed78a0854fc031aed15db5ad4d5c261cea4 /activesupport/lib/active_support/number_helper/number_to_human_size_converter.rb | |
parent | d752ae16abd5f1e48983fc12e18f50cba1896131 (diff) | |
download | rails-d7d11f0dab7f2875d04c17921e12fe62ac6e9566.tar.gz rails-d7d11f0dab7f2875d04c17921e12fe62ac6e9566.tar.bz2 rails-d7d11f0dab7f2875d04c17921e12fe62ac6e9566.zip |
:sicssors:
Diffstat (limited to 'activesupport/lib/active_support/number_helper/number_to_human_size_converter.rb')
-rw-r--r-- | activesupport/lib/active_support/number_helper/number_to_human_size_converter.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/number_helper/number_to_human_size_converter.rb b/activesupport/lib/active_support/number_helper/number_to_human_size_converter.rb index 467ad030b5..33fc6e3553 100644 --- a/activesupport/lib/active_support/number_helper/number_to_human_size_converter.rb +++ b/activesupport/lib/active_support/number_helper/number_to_human_size_converter.rb @@ -1,7 +1,6 @@ module ActiveSupport module NumberHelper class NumberToHumanSizeConverter < NumberConverter - STORAGE_UNITS = [:byte, :kb, :mb, :gb, :tb] self.namespace = :human @@ -53,7 +52,6 @@ module ActiveSupport def base opts[:prefix] == :si ? 1000 : 1024 end - end end end |