aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2017-01-25 20:26:42 +0530
committerGitHub <noreply@github.com>2017-01-25 20:26:42 +0530
commitc6f7c18e25a7fb3719ae15c2d3662e340f63c164 (patch)
treeab9a918161071d4bdaa44cbb86023424b474b4df
parenta363099ce19291d786a31342b6efc528b0cf296d (diff)
parent19fc41992561c901f66064042aa23f4910101d98 (diff)
downloadrails-c6f7c18e25a7fb3719ae15c2d3662e340f63c164.tar.gz
rails-c6f7c18e25a7fb3719ae15c2d3662e340f63c164.tar.bz2
rails-c6f7c18e25a7fb3719ae15c2d3662e340f63c164.zip
Merge pull request #27799 from kenta-s/fix-grammar-in-number_helper
Fix grammar 'an hyphen' -> 'a hyphen' [ci skip]
-rw-r--r--actionview/lib/action_view/helpers/number_helper.rb2
-rw-r--r--activesupport/lib/active_support/number_helper.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/actionview/lib/action_view/helpers/number_helper.rb b/actionview/lib/action_view/helpers/number_helper.rb
index 9e80f0b2ee..b6bc5f4f6f 100644
--- a/actionview/lib/action_view/helpers/number_helper.rb
+++ b/actionview/lib/action_view/helpers/number_helper.rb
@@ -92,7 +92,7 @@ module ActionView
# (defaults to "%u%n"). Fields are <tt>%u</tt> for the
# currency, and <tt>%n</tt> for the number.
# * <tt>:negative_format</tt> - Sets the format for negative
- # numbers (defaults to prepending an hyphen to the formatted
+ # numbers (defaults to prepending a hyphen to the formatted
# number given by <tt>:format</tt>). Accepts the same fields
# than <tt>:format</tt>, except <tt>%n</tt> is here the
# absolute value of the number.
diff --git a/activesupport/lib/active_support/number_helper.rb b/activesupport/lib/active_support/number_helper.rb
index 6000ea44be..da4e91e949 100644
--- a/activesupport/lib/active_support/number_helper.rb
+++ b/activesupport/lib/active_support/number_helper.rb
@@ -78,7 +78,7 @@ module ActiveSupport
# (defaults to "%u%n"). Fields are <tt>%u</tt> for the
# currency, and <tt>%n</tt> for the number.
# * <tt>:negative_format</tt> - Sets the format for negative
- # numbers (defaults to prepending an hyphen to the formatted
+ # numbers (defaults to prepending a hyphen to the formatted
# number given by <tt>:format</tt>). Accepts the same fields
# than <tt>:format</tt>, except <tt>%n</tt> is here the
# absolute value of the number.