Module: BlindIndex::Extensions::TableMetadata
- Defined in:
- lib/blind_index/extensions.rb
Instance Method Summary collapse
-
#has_blind_indexes? ⇒ Boolean
memoize for performance.
Instance Method Details
#has_blind_indexes? ⇒ Boolean
memoize for performance
5 6 7 8 9 10 |
# File 'lib/blind_index/extensions.rb', line 5 def has_blind_indexes? unless defined?(@has_blind_indexes) @has_blind_indexes = klass.respond_to?(:blind_indexes) end @has_blind_indexes end |