--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Analogous to Kernel#require. First tries the local dir, then falls back to Kernel#require. Will load a given feature only once. - !ruby/struct:SM::Flow::P body: Note that extensions (*.so, *.dll) can be required in the global scope, as usual, but not in the local scope. (This is not much of a limitation in practice--you wouldn't want to load an extension more than once.) This implementation falls back to Kernel#require when the argument is an extension or is not found locally. full_name: Capsule#require is_singleton: false name: require params: (feature) visibility: public