Module: Gear::Inspection::ControllersClassMethods

Defined in:
lib/gear/inspection.rb

Instance Method Summary collapse

Instance Method Details

#allObject

All Helper helps us inspect our Controllers from outside of the app. TODO: Move to CampTools for introspection.



14
15
16
17
18
19
20
# File 'lib/gear/inspection.rb', line 14

def all
  all = []
  constants.map { |c|
    all << c.name if !["I", "Camper"].include? c.to_s
  }
  all
end