Class: RailsBestPractices::Core::Klasses
- Inherits:
-
Array
- Object
- Array
- RailsBestPractices::Core::Klasses
- Defined in:
- lib/rails_best_practices/core/klasses.rb
Overview
Klass container.
Direct Known Subclasses
Instance Method Summary collapse
-
#include?(class_name) ⇒ Boolean
If include the class.
Instance Method Details
#include?(class_name) ⇒ Boolean
If include the class.
10 11 12 |
# File 'lib/rails_best_practices/core/klasses.rb', line 10 def include?(class_name) find { |klass| klass.to_s == class_name } end |