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/CurrentAttributes/set-i.ri
U:RDoc::AnyMethod[iI"set:ETI")ActiveSupport::CurrentAttributes#set;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"fExpose one or more attributes within a block. Old values are returned after the block concludes. ;TI"iExample demonstrating the common use of needing to set Current attributes outside the request-cycle:;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I"1class Chat::PublicationJob < ApplicationJob
;TI"5  def perform(attributes, room_number, creator)
;TI")    Current.set(person: creator) do
;TI"U      Chat::Publisher.publish(attributes: attributes, room_number: room_number)
;TI"
    end
;TI"  end
;TI"end;T:@format0:
@fileI"-lib/active_support/current_attributes.rb;T:0@omit_headings_from_table_of_contents_below00I";T[I"(set_attributes);T@FI"CurrentAttributes;TcRDoc::NormalClass00