Method: FileContainer.included
- Defined in:
- app/models/file_container.rb
.included(base) ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'app/models/file_container.rb', line 6 def self.included(base) return if @@types.include?(base) @@types << base base.instance_eval do include Associations end end |