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/puma-6.1.0/ri/Puma/Configuration/cdesc-Configuration.ri
U:RDoc::NormalClass[iI"Configuration:ETI"Puma::Configuration;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"*The main configuration class of Puma.;To:RDoc::Markup::BlankLineo;	;[I"OIt can be initialized with a set of "user" options and "default" options. ;TI"GDefaults will be merged with `Configuration.puma_default_options`.;T@o;	;[I"VThis class works together with 2 main other classes the `UserFileDefaultOptions` ;TI"Pwhich stores configuration options in order so the precedence is that user ;TI"Pset configuration wins over "file" based configuration wins over "default" ;TI"Kconfiguration. These configurations are set via the `DSL` class. This ;TI"Vclass powers the Puma config file syntax and does double duty as a configuration ;TI"7DSL used by the `Puma::CLI` and Puma rack handler.;T@o;	;[I"%It also handles loading plugins.;T@o:RDoc::Markup::List:
@type:
LABEL:@items[o:RDoc::Markup::ListItem:@label[I"
Note:;T;[o;	;[I"M`:port` and `:host` are not valid keys. By the time they make it to the ;TI"Uconfiguration options they are expected to be incorporated into a `:binds` key. ;TI"DUnder the hood the DSL maps `port` and `host` calls to `:binds`;T@o:RDoc::Markup::Verbatim;[I"Rconfig = Configuration.new({}) do |user_config, file_config, default_config|
;TI"  user_config.port 3003
;TI"	end
;TI"config.load
;TI" puts config.options[:port]
;TI"# => 3003
;T:@format0o;	;[I"VIt is expected that `load` is called on the configuration instance after setting ;TI"Tconfig. This method expands any values in `config_file` and puts them into the ;TI"'correct configuration option hash.;T@o;	;[	I"SOnce all configuration is complete it is expected that `clamp` will be called ;TI"Uon the instance. This will expand any procs stored under "default" values. This ;TI"Ris done because an environment variable may have been modified while loading ;TI"configuration files.;T:
@fileI"lib/puma/configuration.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[[
I"options;TI"R;T:publicFI"lib/puma/configuration.rb;T[
I"plugins;T@C;F@D[U:RDoc::Constant[iI"
DEFAULTS;TI""Puma::Configuration::DEFAULTS;T;0o;;[;@?;0@?@cRDoc::NormalClass0[[[I"
class;T[[;[[I"new;T@D[I"temp_path;T@D[:protected[[:private[[I"random_token;T@D[I"
instance;T[[;[[I"app;T@D[I"app_configured?;T@D[I"
clamp;T@D[I"config_files;T@D[I"configure;T@D[I"environment;T@D[I"final_options;T@D[I"flatten;T@D[I"
flatten!;T@D[I"initialize_copy;T@D[I"	load;T@D[I"load_plugin;T@D[I"puma_default_options;T@D[I"puma_options_from_env;T@D[I"rackup;T@D[I"run_hooks;T@D[;[[;[[I"load_rackup;T@D[I"rack_builder;T@D[[U:RDoc::Context::Section[i0o;;[;0;0[	@?I"lib/puma/dsl.rb;TI"lib/puma/server.rb;TI"lib/rack/handler/puma.rb;TI"	Puma;TcRDoc::NormalModule