Class: Noah::RegisteredModels

Inherits:
Object
  • Object
show all
Defined in:
lib/noah/models.rb

Constant Summary collapse

@@models =
[]

Class Method Summary collapse

Class Method Details

.modelsObject



117
118
119
# File 'lib/noah/models.rb', line 117

def self.models
  @@models
end

.register_model(model) ⇒ Object



113
114
115
# File 'lib/noah/models.rb', line 113

def self.register_model(model)
  @@models << model
end