aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/blank.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2005-11-02 15:37:58 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2005-11-02 15:37:58 +0000
commitac58ba60f6cfc272992129ce28808e37391b95d7 (patch)
treeee02642e1366a1ca168fb6de8f42c67c13be865f /activesupport/lib/active_support/core_ext/blank.rb
parent4f754985d0d39a9e7831e45809b030b2b3c62d09 (diff)
downloadrails-ac58ba60f6cfc272992129ce28808e37391b95d7.tar.gz
rails-ac58ba60f6cfc272992129ce28808e37391b95d7.tar.bz2
rails-ac58ba60f6cfc272992129ce28808e37391b95d7.zip
Changed 0.blank? to false rather than true since it violates everyone's expectation of blankness. Closes #2518, Closes #2705.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2849 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support/core_ext/blank.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/blank.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/core_ext/blank.rb b/activesupport/lib/active_support/core_ext/blank.rb
index 113a8645f9..f4c0b24c25 100644
--- a/activesupport/lib/active_support/core_ext/blank.rb
+++ b/activesupport/lib/active_support/core_ext/blank.rb
@@ -30,7 +30,3 @@ class String #:nodoc:
empty? || strip.empty?
end
end
-
-class Numeric #:nodoc:
- alias_method :blank?, :zero?
-end \ No newline at end of file