Sam Ford 04203953de
Cask: Ensure #discontinued? returns a boolean
The `Cask::DSL#discontinued?` method is expected to return a boolean
value (`true`/`false`) but it will return `nil` for any casks without
a `caveats` block. `nil` is still falsy but this commit ensures that
the method will properly return a boolean value in this scenario.
2022-06-23 14:03:15 -04:00
..
2022-06-14 16:42:10 -04:00
2022-06-15 16:35:49 -04:00
2022-05-30 14:59:14 +01:00
2022-05-10 00:12:06 +00:00
2022-06-17 19:47:55 +01:00
2022-04-27 18:42:11 +01:00
2022-06-21 18:14:57 +00:00
2022-06-22 22:33:50 +00:00
2022-02-22 15:27:43 +00:00
2022-06-14 16:06:05 -04:00
2022-06-22 19:22:48 -04:00
2021-10-22 20:07:24 +08:00
2022-06-14 16:06:05 -04:00
2022-04-28 10:40:16 -04:00
2022-04-30 22:05:35 +02:00
2022-06-14 16:06:05 -04:00
2022-05-30 14:59:14 +01:00
2022-05-18 18:48:16 -04:00
2022-04-12 15:53:03 -07:00
2022-06-10 19:32:32 +01:00
2022-06-17 19:47:57 +01:00
2021-09-20 14:12:30 +01:00
2022-06-02 03:25:55 +01: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!