apainintheneck efb14a0ec2 fix no autoremove suggestion typo
This suggests setting an environment variable that is different
than the one we end up checking so I've updated the warning so
now things match. If the goal was to have the name in the warning,
the environment variable checking logic could be updated. I have
no personal preference.

```console
$ brew irb
==> Interactive Homebrew Shell
Example commands available with: `brew irb --examples`
brew(main):001:0> ENV["HOMEBREW_NO_AUTO_REMOVE"] = "1"
=> "1"
brew(main):002:0> Homebrew::EnvConfig.no_autoremove?
=> false
brew(main):003:0> ENV["HOMEBREW_NO_AUTOREMOVE"] = "1"
=> "1"
brew(main):004:0> Homebrew::EnvConfig.no_autoremove?
=> true
```
2024-05-09 20:14:16 -07:00
..
2024-05-09 20:14:16 -07:00
2024-05-06 22:57:23 -04:00
2024-05-02 09:40:09 +02:00
2024-05-09 17:02:06 +00:00
2024-05-01 11:35:21 +02:00
2024-05-09 17:01:32 +00:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-09 20:14:16 -07:00
2024-05-02 09:40:09 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-09 17:01:32 +00:00
2024-04-22 21:16:49 +02:00
2024-04-22 21:16:49 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-09 13:10:37 +01:00
2024-05-07 20:07:27 -07:00
2024-05-01 11:35:21 +02: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!