Class: Wallaby::Custom::ModelFinder

Inherits:
ModelFinder show all
Defined in:
lib/adaptors/wallaby/custom/model_finder.rb

Overview

Model finder for Wallaby::Custom mode that returns the list of model set by Wallaby::Configuration#custom_models

Instance Method Summary collapse

Instance Method Details

#allClashArray

Returns a list of classes.

Returns:

  • (ClashArray)

    a list of classes



9
10
11
# File 'lib/adaptors/wallaby/custom/model_finder.rb', line 9

def all
  Wallaby.configuration.custom_models
end