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/ruby-3.0.2/doc/activesupport-6.1.4.1/ri/String/first-i.ri
U:RDoc::AnyMethod[iI"
first:ETI"String#first;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"NReturns the first character. If a limit is supplied, returns a substring ;TI"Ofrom the beginning of the string until it reaches the limit value. If the ;TI"Wgiven limit is greater than or equal to the string length, returns a copy of self.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I"str = "hello"
;TI"str.first    # => "h"
;TI"str.first(1) # => "h"
;TI"str.first(2) # => "he"
;TI"str.first(0) # => ""
;TI"str.first(6) # => "hello";T:@format0:
@fileI"1lib/active_support/core_ext/string/access.rb;T:0@omit_headings_from_table_of_contents_below000[I"(limit = 1);T@FI"String;TcRDoc::NormalClass00