JezK
Edit File: initialize%21-c.ri
U:RDoc::AnyMethod[iI"initialize!:EFI"#UnionStationHooks::initialize!;FT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"AInitializes the Union Station hooks. If there are any other ;TI"H`union_station_hooks_*` gems loaded, then they are initialized too.;To:RDoc::Markup::BlankLine o; ; [ I"GApplications must call this during startup. Hooks aren't actually ;TI"Ninstalled until this method is called, so until you call this you cannot ;TI"Nuse the public APIs of any `union_station_hooks_*` gems (besides trivial ;TI"6things such as {UnionStationHooks.initialized?}).;T@o; ; [I"NA good place to call this is in the Rackup file `config.ru`. Or, if your ;TI"Lapplication is a Rails app, then you should create an initializer file ;TI"C`config/initializers/union_station.rb` in which you call this.;T@o; ; [I"CIf this method successfully initializes, then it returns true.;T@o; ; [ I"JCalling this method may or may not actually initialize the hooks. If ;TI"Nthis gem determines that initialization is not desired, then this method ;TI"4won't do anything and will return `false`. See ;TI",{UnionStationHooks#should_initialize?}.;T@o; ; [ I"CInitialization takes place according to parameters set in the ;TI"B{UnionStationHooks.config configuration hash}. If a required ;TI"Dconfiguration option is missing, then this method will raise a ;TI"{ConfigurationError}.;T@o; ; [I"NInitializing twice is a no-op. It only causes this method to return true.;T@o; ; [I"M@raise [ConfigurationError] A required configuration option is missing. ;TI"=@return [Boolean] Whether initialization was successful.;T: @fileI"jsrc/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core.rb;T:0@omit_headings_from_table_of_contents_below000[ I"();T@1FI"UnionStationHooks;FcRDoc::NormalModule00