Module: Gear::Inspection::ControllersClassMethods
- Defined in:
- lib/camping/gear/inspection.rb
Instance Method Summary collapse
-
#all ⇒ Object
All Helper helps us inspect our Controllers from outside of the app.
Instance Method Details
#all ⇒ Object
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/camping/gear/inspection.rb', line 14 def all all = [] constants.map { |c| all << c.name if !["I", "Camper"].include? c.to_s } all end |