JezK
Edit File: log_user_activity_block-i.ri
U:RDoc::AnyMethod[iI"log_user_activity_block:EFI"?UnionStationHooks::RequestReporter#log_user_activity_block;FF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"HLogs a user-defined activity, for display in the activity timeline.;To:RDoc::Markup::BlankLine o; ; [I"JAn activity is a block in the activity timeline in the Union Station ;TI"@user interace. It has a name, a begin time and an end time.;T@o; ; [I"HThis form takes a block. Before and after the block runs, the time ;TI"is measured.;T@o; ; [I"G@param name The name that should show up in the activity timeline.;To:RDoc::Markup::Verbatim; [I"@It can be any arbitrary name but may not contain newlines. ;T:@format0o; ; [I",@return The return value of the block. ;TI";@yield The block is expected to perform the activity. ;TI" @example;To;; [ I":reporter.log_user_activity_block('Preheat cache') do ;TI": calculate_preheat_values.each_pair do |key, value| ;TI"' Rails.cache.write(key, value) ;TI" end ;TI"end;T; 0: @fileI"{src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/request_reporter/misc.rb;T:0@omit_headings_from_table_of_contents_below00I"