HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/gems/default/doc/activesupport-6.1.4.1/ri/ActiveSupport/RangeWithFormat/to_s-i.ri
U:RDoc::AnyMethod[iI"	to_s:ETI"(ActiveSupport::RangeWithFormat#to_s;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"SConvert range to a formatted string. See RANGE_FORMATS for predefined formats.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[	I",range = (1..100)           # => 1..100
;TI"
;TI".range.to_s                 # => "1..100"
;TI"=range.to_s(:db)            # => "BETWEEN '1' AND '100'"
;T:@format0S:RDoc::Markup::Heading:
leveli:	textI"*Adding your own range formats to to_s;To;
;	[I"DYou can add your own formats to the Range::RANGE_FORMATS hash. ;TI"=Use the format name as the hash key and a Proc instance.;T@o;;	[I",# config/initializers/range_formats.rb
;TI"jRange::RANGE_FORMATS[:short] = ->(start, stop) { "Between #{start.to_s(:db)} and #{stop.to_s(:db)}" };T;
0:
@fileI"5lib/active_support/core_ext/range/conversions.rb;T:0@omit_headings_from_table_of_contents_below000[[I"to_default_s;To;;	[;@;0[I"to_formatted_s;To;;	[;@;0I"(format = :default);T@TI"RangeWithFormat;TcRDoc::NormalModule00