Module: Neo4j::ActiveNode::Labels::Reloading
- Extended by:
- ActiveSupport::Concern
- Included in:
- Neo4j::ActiveNode::Labels
- Defined in:
- lib/neo4j/active_node/labels/reloading.rb
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- MODELS_TO_RELOAD =
[]
Class Method Summary collapse
Class Method Details
.reload_models! ⇒ Object
7 8 9 10 |
# File 'lib/neo4j/active_node/labels/reloading.rb', line 7 def self.reload_models! MODELS_TO_RELOAD.each(&:constantize) MODELS_TO_RELOAD.clear end |