Mike McQuaid ee1cbfc8d3
formula: refactor outdated_kegs logic.
- Use the `Formula.cache` and `Cacheable` rather than rolling our own.
- Use keyword arguments instead of `options = {}`
- Improve readability in general
2019-11-06 11:49:31 +00:00
..
2019-08-21 06:57:21 +02:00
2019-08-19 16:12:34 +10:00
2019-11-01 17:04:27 +00:00
2019-11-05 19:30:35 +00:00
2019-08-19 16:12:34 +10:00
2019-09-05 12:14:33 +02:00
2019-11-04 21:06:27 +11:00
2019-08-19 16:12:34 +10:00
2019-08-21 06:57:21 +02:00
2019-10-03 09:22:44 +02:00
2019-11-06 10:20:56 +00:00
2019-10-10 16:17:05 +01:00
2019-11-06 10:04:13 +00:00
2019-10-03 09:22:44 +02:00
2019-10-07 14:51:33 +01:00
2019-10-05 00:20:06 +02:00
2019-10-02 23:30:45 +02:00

Homebrew's Formula API

This is the public API for Homebrew.

The main class you should look at is the {Formula} class (and classes linked from there). That's the class that's used to create Homebrew formulae (i.e. package descriptions). Assume anything else you stumble upon is private.

You may also find the Formula Cookbook and Ruby Style Guide helpful in creating formulae.

Good luck!