This is actually a Ruby function:
def value=(x) px end def run value = 123 end run
In #run above, value assigns a local variable, not something else. If you want to call # value =, you must specify the recipient:
def run self.value = 123 end run 123
Hope this helps!
source share