diff options
author | TomK32 <tomk32@tomk32.de> | 2008-05-12 10:49:30 +0200 |
---|---|---|
committer | TomK32 <tomk32@tomk32.de> | 2008-05-12 10:49:30 +0200 |
commit | d416e712291682b398f75682bead33e60131a800 (patch) | |
tree | 7c7566dfce51e3fb0bd871a603d908114be35e84 | |
parent | cb50a2880759f311148abda55ab60be772b8aa51 (diff) | |
download | rails-d416e712291682b398f75682bead33e60131a800.tar.gz rails-d416e712291682b398f75682bead33e60131a800.tar.bz2 rails-d416e712291682b398f75682bead33e60131a800.zip |
fixed display of example
-rw-r--r-- | activesupport/lib/active_support/core_ext/range/conversions.rb | 3 |
1 files changed, 1 insertions, 2 deletions
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 |