HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/activemodel-7.0.4.2/ri/ActiveModel/Conversion/to_key-i.ri
U:RDoc::AnyMethod[iI"to_key:ETI"#ActiveModel::Conversion#to_key;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"\Returns an Array of all key attributes if any of the attributes is set, whether or not ;TI"Kthe object is persisted. Returns +nil+ if there are no key attributes.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I"class Person
;TI"'  include ActiveModel::Conversion
;TI"  attr_accessor :id
;TI"
;TI"  def initialize(id)
;TI"    @id = id
;TI"  end
;TI"	end
;TI"
;TI"person = Person.new(1)
;TI"person.to_key # => [1];T:@format0:
@fileI"#lib/active_model/conversion.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI"Conversion;TcRDoc::NormalModule00