Method: Tap::Support::Manifest.intern
- Defined in:
- lib/tap/support/manifest.rb
.intern(*args, &block) ⇒ Object
Interns a new manifest, overriding the minikey method with the block (the minikey method converts entries to the path used during minimap and minimatch lookup, see Minimap).
19 20 21 22 23 24 25 26 |
# File 'lib/tap/support/manifest.rb', line 19 def intern(*args, &block) instance = new(*args) if block_given? instance.extend Support::Intern(:minikey) instance.minikey_block = block end instance end |