aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-10-16 22:31:55 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-10-16 22:31:55 +0000
commite906ec7f3601544b403958226f7e167a81d3fea4 (patch)
treee5bbeed56e76c97ebbd6fffc81b8c4ef86aafc79 /activesupport
parentf4aaa26eb30f040925c0f982387295d454fde606 (diff)
downloadrails-e906ec7f3601544b403958226f7e167a81d3fea4.tar.gz
rails-e906ec7f3601544b403958226f7e167a81d3fea4.tar.bz2
rails-e906ec7f3601544b403958226f7e167a81d3fea4.zip
Dont include unnecessary active support classes in docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/blank.rb14
-rw-r--r--activesupport/lib/active_support/core_ext/enumerable.rb2
-rw-r--r--activesupport/lib/active_support/ordered_options.rb2
3 files changed, 9 insertions, 9 deletions
diff --git a/activesupport/lib/active_support/core_ext/blank.rb b/activesupport/lib/active_support/core_ext/blank.rb
index f56799bc0d..113a8645f9 100644
--- a/activesupport/lib/active_support/core_ext/blank.rb
+++ b/activesupport/lib/active_support/core_ext/blank.rb
@@ -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 \ No newline at end of file
diff --git a/activesupport/lib/active_support/core_ext/enumerable.rb b/activesupport/lib/active_support/core_ext/enumerable.rb
index 497ca52c2d..49e1b7bb90 100644
--- a/activesupport/lib/active_support/core_ext/enumerable.rb
+++ b/activesupport/lib/active_support/core_ext/enumerable.rb
@@ -1,4 +1,4 @@
-module Enumerable
+module Enumerable #:nodoc:
def first_match
match = nil
each do |items|
diff --git a/activesupport/lib/active_support/ordered_options.rb b/activesupport/lib/active_support/ordered_options.rb
index 5cd7fdadd7..ed5d4d3167 100644
--- a/activesupport/lib/active_support/ordered_options.rb
+++ b/activesupport/lib/active_support/ordered_options.rb
@@ -1,4 +1,4 @@
-class OrderedOptions < Array
+class OrderedOptions < Array #:nodoc:
def []=(key, value)
key = key.to_sym