I'm new to Rails. I see some special characters.
&:frozen?
&:built?
The code is
[array].reject(&:frozen?)
[array].reject(&:built?)
I checked but I didn't see document for that.
What is the meaning? Thank you
I'm new to Rails. I see some special characters.
&:frozen?
&:built?
The code is
[array].reject(&:frozen?)
[array].reject(&:built?)
I checked but I didn't see document for that.
What is the meaning? Thank you