class ComputedModel::NormalizableArray

Convenience class to easily access normalized version of dependencies.

You don't need to directly use it.

Public Instance Methods

normalized() click to toggle source

Returns the normalized hash of the dependencies. @return [Hash{Symbol=>Array}] the normalized hash of the dependencies @raise [RuntimeError] if the list isn't valid as a dependency list.

See {ComputedModel.normalize_dependencies} for details.
# File lib/computed_model.rb, line 98
def normalized
  @normalized ||= ComputedModel.normalize_dependencies(ComputedModel.filter_subfields(self))
end