Join Discord
Powered by
Okay so the easiest option is to use this ```ruby ...
# general
a
abundant-lunch-54717
06/26/2024, 9:55 AM
Okay so the easiest option is to use this
Copy code
ruby prop :class, String, default: ""
...and have the
classes
method reference
@class
. But ideally, we’d want an
ivar
setting on the property so we can make the ivar match the method name.
Previous
Next