Class: RedBlocks::UnitSet

Inherits:
Set
  • Object
show all
Defined in:
lib/red_blocks/unit_set.rb

Instance Attribute Summary

Attributes inherited from Set

#weight

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Set

#cache_time, #disabled?, #expiration_time, #expression, #get, #ids, #key, key_pattern, #label, #size, #update!, #update_if_disabled!

Methods included from SetOptimizer

#unset

Methods included from SetUtils

included, #joined_key, #normalize_entries, #validate_array_entry, #validate_entries!

Class Method Details

.warmup!Object



7
8
9
# File 'lib/red_blocks/unit_set.rb', line 7

def self.warmup!
  self.new.update!
end

Instance Method Details

#key_suffixObject



3
4
5
# File 'lib/red_blocks/unit_set.rb', line 3

def key_suffix
  'Unit'
end