Method: ActiveScaffold::Finder::ClassMethods.extended
- Defined in:
- lib/active_scaffold/finder.rb
.extended(klass) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/active_scaffold/finder.rb', line 8 def self.extended(klass) return unless klass.active_scaffold_config if klass.active_scaffold_config.active_record? klass.extend ActiveRecord elsif klass.active_scaffold_config.mongoid? klass.extend Mongoid end end |