Method: Moneta::Defaults::ClassMethods#features

Defined in:
lib/moneta/defaults.rb

#featuresArray<Symbol>

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.

Returns features list

Returns:

  • (Array<Symbol>)

    list of features



12
13
14
# File 'lib/moneta/defaults.rb', line 12

def features
  @features ||= superclass.respond_to?(:features) ? superclass.features : [].freeze
end