Method: Moneta::Defaults::ClassMethods#supports
- Defined in:
- lib/moneta/defaults.rb
#supports(*features) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Declares that this adapter supports the given feature.
26 27 28 |
# File 'lib/moneta/defaults.rb', line 26 def supports(*features) @features = (self.features | features).freeze end |