Class: Polars::StringCache
- Inherits:
-
Object
- Object
- Polars::StringCache
- Defined in:
- lib/polars/string_cache.rb
Overview
Context manager for enabling and disabling the global string cache.
Instance Method Summary collapse
-
#initialize(&block) ⇒ StringCache
constructor
A new instance of StringCache.
Constructor Details
#initialize(&block) ⇒ StringCache
Returns a new instance of StringCache.
4 5 6 |
# File 'lib/polars/string_cache.rb', line 4 def initialize(&block) RbStringCacheHolder.hold(&block) end |