Class: Wallaby::Configuration::Models
- Inherits:
-
Object
- Object
- Wallaby::Configuration::Models
- Defined in:
- lib/wallaby/configuration/models.rb
Instance Method Summary collapse
Instance Method Details
#exclude(*models) ⇒ Object
14 15 16 |
# File 'lib/wallaby/configuration/models.rb', line 14 def exclude(*models) @excludes = models end |
#excludes ⇒ Object
10 11 12 |
# File 'lib/wallaby/configuration/models.rb', line 10 def excludes @excludes ||= [] end |
#presence ⇒ Object
6 7 8 |
# File 'lib/wallaby/configuration/models.rb', line 6 def presence @models.presence end |
#set(models) ⇒ Object
2 3 4 |
# File 'lib/wallaby/configuration/models.rb', line 2 def set(models) @models = Array models end |