Permalink
Browse files

fixed display of example

  • Loading branch information...
1 parent cb50a28 commit d416e712291682b398f75682bead33e60131a800 @TomK32 TomK32 committed May 12, 2008
Showing with 1 addition and 2 deletions.
  1. +1 −2 activesupport/lib/active_support/core_ext/range/conversions.rb
@@ -17,8 +17,7 @@ def self.included(base) #: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

0 comments on commit d416e71

Please sign in to comment.