%PDF- %PDF-
Direktori : /opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/Handler/ |
Current File : //opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/Handler/try_require-c.yaml |
--- !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