Permalink
Browse files

Dont include unnecessary active support classes in docs

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
dhh committed Oct 16, 2005
1 parent f4aaa26 commit e906ec7f3601544b403958226f7e167a81d3fea4
@@ -1,36 +1,36 @@
# The methods here are provided to speed up function blank? in class Object
-class NilClass
+class NilClass #:nodoc:
def blank?
true
end
end
-class FalseClass
+class FalseClass #:nodoc:
def blank?
true
end
end
-class TrueClass
+class TrueClass #:nodoc:
def blank?
false
end
end
-class Array
+class Array #:nodoc:
alias_method :blank?, :empty?
end
-class Hash
+class Hash #:nodoc:
alias_method :blank?, :empty?
end
-class String
+class String #:nodoc:
def blank?
empty? || strip.empty?
end
end
-class Numeric
+class Numeric #:nodoc:
alias_method :blank?, :zero?
end
@@ -1,4 +1,4 @@
-module Enumerable
+module Enumerable #:nodoc:
def first_match
match = nil
each do |items|
@@ -1,4 +1,4 @@
-class OrderedOptions < Array
+class OrderedOptions < Array #:nodoc:
def []=(key, value)
key = key.to_sym

0 comments on commit e906ec7

Please sign in to comment.