Sha256: 644ee255403a9dfbba2be47f9c4827484f87c8da52bbc3975d4442d9a3c17c25
Contents?: true
Size: 733 Bytes
Versions: 2
Compression:
Stored size: 733 Bytes
Contents
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Analogous to <tt>Kernel#require</tt>. First tries the local dir, then falls back to <tt>Kernel#require</tt>. Will load a given <em>feature</em> 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 <tt>Kernel#require</tt> when the argument is an extension or is not found locally. full_name: Capsule#require is_singleton: false name: require params: (feature) visibility: public
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facets-2.4.2 | doc/ri/Capsule/require-i.yaml |
facets-2.4.3 | doc/ri/Capsule/require-i.yaml |