aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activesupport/lib/active_support/core_ext/array/conversions.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/core_ext/array/conversions.rb b/activesupport/lib/active_support/core_ext/array/conversions.rb
index d8b8585ada..2b7e9942bf 100644
--- a/activesupport/lib/active_support/core_ext/array/conversions.rb
+++ b/activesupport/lib/active_support/core_ext/array/conversions.rb
@@ -23,8 +23,6 @@ class Array
# the connector options defined on the 'support.array' namespace in the
# corresponding dictionary file.
#
- # Examples:
- #
# [].to_sentence # => ""
# ['one'].to_sentence # => "one"
# ['one', 'two'].to_sentence # => "one and two"
@@ -88,7 +86,6 @@ class Array
# Converts a collection of elements into a formatted string by calling
# <tt>to_s</tt> on all elements and joining them. Having this model:
#
- #
# class Blog < ActiveRecord::Base
# def to_s
# title
@@ -97,7 +94,6 @@ class Array
#
# Blog.all.map(&:title) #=> ["First Post", "Second Post", "Third post"]
#
- #
# <tt>to_formatted_s</tt> shows us:
#
# Blog.all.to_formatted_s # => "First PostSecond PostThird Post"