From d416e712291682b398f75682bead33e60131a800 Mon Sep 17 00:00:00 2001 From: TomK32 Date: Mon, 12 May 2008 10:49:30 +0200 Subject: fixed display of example --- activesupport/lib/active_support/core_ext/range/conversions.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'activesupport/lib') diff --git a/activesupport/lib/active_support/core_ext/range/conversions.rb b/activesupport/lib/active_support/core_ext/range/conversions.rb index 8d757646d3..913e1f3b21 100644 --- a/activesupport/lib/active_support/core_ext/range/conversions.rb +++ b/activesupport/lib/active_support/core_ext/range/conversions.rb @@ -17,8 +17,7 @@ module ActiveSupport #:nodoc: # # Example: # - # >> [1..100].to_formatted_s - # => "1..100" + # [1..100].to_formatted_s # => "1..100" def to_formatted_s(format = :default) RANGE_FORMATS[format] ? RANGE_FORMATS[format].call(first, last) : to_default_s end -- cgit v1.2.3