Class: ComputedModel::NormalizableArray

Inherits:
Array
  • Object
show all
Defined in:
lib/computed_model.rb

Overview

Convenience class to easily access normalized version of dependencies.

You don't need to directly use it.

Instance Method Summary collapse

Instance Method Details

#normalizedHash{Symbol=>Array}

Returns the normalized hash of the dependencies.

Returns:

  • (Hash{Symbol=>Array})

    the normalized hash of the dependencies

Raises:



98
99
100
# File 'lib/computed_model.rb', line 98

def normalized
  @normalized ||= ComputedModel.normalize_dependencies(ComputedModel.filter_subfields(self))
end