Module: Bootscale
- Defined in:
- lib/bootscale.rb,
lib/bootscale/cache.rb,
lib/bootscale/entry.rb,
lib/bootscale/version.rb
Defined Under Namespace
Constant Summary collapse
- DL_EXTENSIONS =
[ RbConfig::CONFIG['DLEXT'], RbConfig::CONFIG['DLEXT2'], ].reject(&:empty?).map { |ext| ".#{ext}"}
- DOT_SO =
'.so'.freeze
- DOT_RB =
'.rb'.freeze
- VERSION =
'0.1.0'
Class Method Summary collapse
Class Method Details
.[](path) ⇒ Object
7 8 9 |
# File 'lib/bootscale.rb', line 7 def [](path) cache[path.to_s] || path end |
.regenerate ⇒ Object
11 12 13 |
# File 'lib/bootscale.rb', line 11 def regenerate cache.regenerate end |