Flowdock
method

wrap

Importance_1
v5.2.3 - Show latest stable - 0 notes - Class: Variation
wrap(variator) public

Returns a Variation instance based on the given variator. If the variator is a Variation, it is returned unmodified. If it is a String, it is passed to ActiveStorage::Variation.decode. Otherwise, it is assumed to be a transformations Hash and is passed directly to the constructor.

Show source
Register or log in to add new notes.