File: //usr/local/rvm/gems/ruby-2.6.8/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::BlankLine o: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