aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/numeric/conversions.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #20038 from imanel/numeric_prependSean Griffin2015-10-201-25/+12
|\ | | | | Use Module.prepend instead of alias_method and unify behavior of all Numeric extensions
| * Unify behavior of all Numeric extensions and use Module.prepend instead of ↵Bernard Potocki2015-05-281-25/+12
| | | | | | | | alias_method
* | Corrected numeric conversions output [ci skip]amitkumarsuroliya2015-09-191-2/+2
|/
* Prevent Numeric#to_s from allocating an arrayJean Boussier2014-11-281-9/+19
|
* update some AS code examples to 1.9 hash syntax [ci skip]Francesco Rodriguez2012-09-121-64/+64
|
* Review requires from number helperCarlos Antonio da Silva2012-05-281-6/+6
| | | | | | | | Some of these requires are now only necessary in ActiveSupport::NumberHelper. Add hash/keys require due to symbolize_keys usage in number helpers. Also remove some whitespaces. Closes #6414
* Moving NumberHelpers from ActionView to ActiveSupportAndrew Mutz2012-05-271-0/+135
|
* Move Numeric#to_utc_offset_s to TimeZone.seconds_to_utc_offsetJeremy Kemper2009-03-231-15/+0
|
* Convert Numeric extension module to a class reopenJeremy Kemper2009-03-211-17/+13
|
* Refactor number-to-HH:MM-string conversion logic from ↵Geoff Buesing2008-01-121-0/+19
TimeZone#formatted_offset to reusable Numeric#to_utc_offset_s method git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8635 5ecf4fe2-1ee6-0310-87b1-e25e094e27de