Class: Textus::Doctor::Check::UnownedSchemaFields
- Inherits:
-
Textus::Doctor::Check
- Object
- Textus::Doctor::Check
- Textus::Doctor::Check::UnownedSchemaFields
- Defined in:
- lib/textus/doctor/check/unowned_schema_fields.rb
Instance Method Summary collapse
Methods inherited from Textus::Doctor::Check
Constructor Details
This class inherits a constructor from Textus::Doctor::Check
Instance Method Details
#call ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/textus/doctor/check/unowned_schema_fields.rb', line 5 def call dir = File.join(store.root, "schemas") return [] unless File.directory?(dir) Dir.glob(File.join(dir, "*.yaml")).flat_map do |path| issues_for(path) end end |