Sam Ford 6f511ee4e2
Cask::DSL: initialize more instance variables
I recently updated `Cask::DSL` to define instance variables in
`#initialize` to get us closer to resolving a "shape variation"
warning from Ruby. The reason why we continued to receive this warning
after the previous changes is because I overlooked the variables that
are set using `set_unique_stanza`.

The tricky part about those instance variables is that we need to be
able to identify if they've been set. I've handled this by using a
`nil` initial value and updating the `instance_variable_defined?`
condition to check for a non-`nil` value instead. This works for these
variables but it would be a problem if we ever have a DSL method that
accepts a `nil` argument.
2025-04-22 23:21:05 -04:00
..
2025-03-05 20:12:18 +01:00
2025-04-02 16:34:28 +11:00
2025-03-02 21:36:03 -08:00
2025-01-14 08:14:39 -05:00
2025-03-05 20:12:18 +01:00
2024-10-02 10:03:12 -07:00
2024-12-12 00:01:30 -08:00
2024-10-06 09:25:57 -07:00
2025-03-20 18:07:30 +00:00
2025-03-02 21:36:03 -08:00
2025-03-02 21:36:03 -08:00
2025-03-02 21:36:03 -08:00
2025-02-25 15:34:49 +00:00