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/activemodel-6.1.4.1/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