--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Transforms server-name constants to their canonical form as filenames, then tries to require them but silences the LoadError if not found
- !ruby/struct:SM::Flow::P
body: "Naming convention:"
- !ruby/struct:SM::Flow::VERB
body: " Foo # => 'foo'\n FooBar # => 'foo_bar.rb'\n FooBAR # => 'foobar.rb'\n FOObar # => 'foobar.rb'\n FOOBAR # => 'foobar.rb'\n FooBarBaz # => 'foo_bar_baz.rb'\n"
full_name: Rack::Handler::try_require
is_singleton: true
name: try_require
params: (prefix, const_name)
visibility: public