Class: Polars::StringCache

Inherits:
Object
  • Object
show all
Defined in:
lib/polars/string_cache.rb

Overview

Context manager for enabling and disabling the global string cache.

Instance Method Summary collapse

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