aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/number_helper.rb
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2015-08-10 23:15:09 -0400
committerJean Boussier <jean.boussier@gmail.com>2015-08-10 23:15:09 -0400
commit708110645722e1cd4cde0613ee6214cdd1b46db9 (patch)
tree13c649b8f7fb464edf24cf4542817804f5c47799 /activesupport/lib/active_support/number_helper.rb
parent8adf25a6323ad20302d7009d482ec01491ec92eb (diff)
downloadrails-708110645722e1cd4cde0613ee6214cdd1b46db9.tar.gz
rails-708110645722e1cd4cde0613ee6214cdd1b46db9.tar.bz2
rails-708110645722e1cd4cde0613ee6214cdd1b46db9.zip
Deprecate the :prefix option of `number_to_human_size`
Diffstat (limited to 'activesupport/lib/active_support/number_helper.rb')
-rw-r--r--activesupport/lib/active_support/number_helper.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/number_helper.rb b/activesupport/lib/active_support/number_helper.rb
index 258d9b34e1..38a9ce361d 100644
--- a/activesupport/lib/active_support/number_helper.rb
+++ b/activesupport/lib/active_support/number_helper.rb
@@ -220,8 +220,6 @@ module ActiveSupport
# * <tt>:strip_insignificant_zeros</tt> - If +true+ removes
# insignificant zeros after the decimal separator (defaults to
# +true+)
- # * <tt>:prefix</tt> - If +:si+ formats the number using the SI
- # prefix (defaults to :binary)
#
# ==== Examples
#