Class: Avrolution::DiscoverSchemas
- Inherits:
-
Object
- Object
- Avrolution::DiscoverSchemas
- Defined in:
- lib/avrolution/discover_schemas.rb
Class Method Summary collapse
Class Method Details
.discover(path) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/avrolution/discover_schemas.rb', line 5 def self.discover(path) vendor_bundle_path = File.join(path, 'vendor/bundle/') Dir[File.join(path, '**/*.avsc')].reject do |file| file.start_with?(vendor_bundle_path) end end |