Module FeedNormalizer::Singular
In: lib/structures.rb

Methods

Public Instance methods

If the method being called is a singular (in this simple case, does not end with an ‘s’), then it calls the plural method, and calls the first element. We‘re assuming that plural methods provide an array.

Example: Object contains an array called ‘alphas’, which looks like [:a, :b, :c]. Call object.alpha and :a is returned.

[Validate]