peluquero v0.99.5 Peluquero.Peluqueria.Chairs View Source

Internally used module to maintain a list of middlewares used to shave inputs. Peluquero.scissors!/2 calls this module to add the middleware. Peluquero.blunt!/2 can be used to remove the middleware(s).

Link to this section Summary

Functions

Removes the middleware from the middlewares list

Adds a middleware to the middlewares list

Retrieves a list of middlewares

Link to this section Functions

Link to this function blunt!(name \\ nil, count \\ 0) View Source
blunt!(binary() | atom(), integer()) :: [atom()]

Removes the middleware from the middlewares list

Link to this function scissors!(name \\ nil, fun) View Source
scissors!(binary() | atom(), (any() -> any()) | tuple()) :: any()

Adds a middleware to the middlewares list

Link to this function scissors?(name \\ nil) View Source
scissors?(binary() | atom()) :: [(any() -> any()) | tuple()]

Retrieves a list of middlewares