Issy Long 7bb57612b7
caveats: Remove extra blank line between keg_only and other caveats
- This was pointed out by Carlo in
  https://github.com/Homebrew/brew/issues/14925#issuecomment-1473303922,
  it annoyed me the moment I saw it too, and it was a very quick fix.
- The caveats items are joined by "\n" before being displayed, so the
  extra `\n` here when generating the `keg_only_text` meant that there
  were two blank lines which looked weird. This `keg_only_text` method
  is only used here so it doesn't affect anywhere else we show the
  `keg_only` message, if there are any other places.
2023-03-18 12:21:10 +00:00
..
2023-02-22 22:50:24 +00:00
2023-03-13 11:24:49 -07:00
2023-02-19 00:13:29 +00:00
2023-03-14 14:49:34 -07:00
2023-03-16 19:13:12 +00:00
2023-03-16 19:07:04 +00:00
2023-03-14 14:49:34 -07:00
2023-03-14 14:49:34 -07:00
2023-03-10 17:53:15 +00:00
2023-03-07 19:15:05 -08:00
2023-03-10 17:53:15 +00:00
2023-03-02 11:49:09 -08:00
2023-03-13 09:08:56 -07:00
2023-02-28 13:05:43 -08:00
2023-03-14 11:09:57 +01:00
2023-03-07 09:08:54 -08:00
2023-03-15 18:21:41 -07:00
2023-03-15 14:29:15 -07:00
2023-03-14 14:49:34 -07:00
2023-03-03 12:44:23 -08:00
2023-02-22 22:52:06 +00:00
2023-03-13 00:59:08 +01:00
2023-03-11 17:27:53 -08:00
2023-03-14 14:49:34 -07:00
2023-03-11 17:27:53 -08:00
2023-03-17 20:15:42 +08:00
2023-03-11 17:27:53 -08:00
2023-03-15 14:29:15 -07:00
2023-03-15 14:29:15 -07:00
2023-03-15 14:29:15 -07:00
2023-03-03 19:12:33 -08:00
2023-03-13 02:40:03 +01:00
2023-03-09 19:10:38 -08:00
2023-02-23 10:15:06 -08:00
2023-03-15 18:21:41 -07:00
2023-03-11 17:27:53 -08:00
2023-03-14 23:01:09 -07:00
2023-03-03 12:44:23 -08:00
2023-03-09 13:42:06 -08:00
2023-03-03 12:44:23 -08:00
2023-03-09 13:42:06 -08:00
2023-02-15 14:24:58 +00:00
2023-03-14 10:27:16 -07:00

Homebrew Ruby API

This is the 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!