amnesia v0.2.7 Amnesia.Helper.Options
Summary
Functions
Turns parameter into a list, invariant when paramers is a list or nil
Allows use of pipe operator to chain conditional updates to a keyword list. If the given value is nil, no update is done
Functions
Allows use of pipe operator to chain conditional updates to a keyword list. If the given value is nil, no update is done.
Please note: mylist[:a][:b] will properly return nil even of mylist[:a] is already nil instead of crashing. This allows using even deeply nested values safely with this construct.