Class: FluentIcons::LazyLoader
- Inherits:
-
Object
- Object
- FluentIcons::LazyLoader
- Defined in:
- lib/fluent-icons/lazy_loader.rb
Class Method Summary collapse
-
.reset! ⇒ Object
Reset symbols (useful for testing or reloading).
-
.symbols ⇒ Object
Initialize with lazy loading support.
Class Method Details
.reset! ⇒ Object
Reset symbols (useful for testing or reloading)
12 13 14 15 |
# File 'lib/fluent-icons/lazy_loader.rb', line 12 def reset! @symbols = nil @data_file_path = nil end |
.symbols ⇒ Object
Initialize with lazy loading support
7 8 9 |
# File 'lib/fluent-icons/lazy_loader.rb', line 7 def symbols @symbols ||= load_symbols end |