Class: Activeapi::Base
- Inherits:
-
Object
- Object
- Activeapi::Base
- Defined in:
- lib/activeapi.rb
Instance Method Summary collapse
Instance Method Details
#listmet ⇒ Object
5 6 7 8 9 |
# File 'lib/activeapi.rb', line 5 def listmet models = Dir["#{Rails.root}/app/models/**/*.rb"].map do |f| File.basename(f,File.extname(f)).camelize end end |