4 ms·
On a separate note, since you're a Ruby core committer, what do you think of the idea of adding CoffeeScript-ish style instance variable syntax for Ruby method
by ericb 15y ago
On a separate note, since you're a Ruby core committer, what do you think of the idea of adding CoffeeScript-ish style instance variable syntax for Ruby method definitions? Like this:
def tenderlove(@tenderness)
end
- tenderlove 15y agoThey seem better. Not sure if it's life changing though.
- wycats 15y agoThat syntax already works in blocks, so it will work with define_method ;)
- tenderlove 15y agomeow. <3
- judofyr 15y agoOnly in 1.8.