Module: Kernel
- Defined in:
- lib/bootscale/core_ext.rb
Class Method Summary collapse
- .require_with_cache(path) ⇒ Object (also: require)
Instance Method Summary collapse
- #require ⇒ Object (also: #require_without_cache)
- #require_with_cache(path) ⇒ Object
Class Method Details
.require_with_cache(path) ⇒ Object Also known as: require
11 12 13 |
# File 'lib/bootscale/core_ext.rb', line 11 def require_with_cache(path) require_without_cache(Bootscale[path] || path) end |
Instance Method Details
#require ⇒ Object Also known as: require_without_cache
7 8 9 |
# File 'lib/bootscale/core_ext.rb', line 7 def require_with_cache(path) require_without_cache(Bootscale[path] || path) end |
#require_with_cache(path) ⇒ Object
2 3 4 |
# File 'lib/bootscale/core_ext.rb', line 2 def require_with_cache(path) require_without_cache(Bootscale[path] || path) end |