Class: Polars::StringCache
- Inherits:
-
Object
- Object
- Polars::StringCache
- Defined in:
- lib/polars/string_cache.rb
Overview
Class 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.
26 27 28 |
# File 'lib/polars/string_cache.rb', line 26 def initialize(&block) RbStringCacheHolder.hold(&block) end |