![What's the bang operator do in Ruby? Is it different from the bang that is at the end of a method? | by Gianpaul Rachiele | Medium What's the bang operator do in Ruby? Is it different from the bang that is at the end of a method? | by Gianpaul Rachiele | Medium](https://miro.medium.com/max/395/1*TpKC6Gdu6CEbXGhJ__cx9Q.png)
What's the bang operator do in Ruby? Is it different from the bang that is at the end of a method? | by Gianpaul Rachiele | Medium
![ruby] ้
ๅๅ
ใฎ่ฆ็ด ใซ้่คใใชใใๆค่จผใใใกใฝใใใๅฎ่ฃ
(Array#uniq?) | qs Developers ruby] ้
ๅๅ
ใฎ่ฆ็ด ใซ้่คใใชใใๆค่จผใใใกใฝใใใๅฎ่ฃ
(Array#uniq?) | qs Developers](https://i1.wp.com/qs.nndo.jp/wp-content/uploads/2017/06/ruby.png?fit=393%2C346)
ruby] ้ ๅๅ ใฎ่ฆ็ด ใซ้่คใใชใใๆค่จผใใใกใฝใใใๅฎ่ฃ (Array#uniq?) | qs Developers
![Rubyใง้
ๅใใ้่คใใ่ฆ็ด ใๅใ้คใใซใฏ๏ผuniqใกใฝใใใฎไฝฟใๆนใๅพนๅบ่งฃ่ชฌ | ใใใใณในใฟใคใซ Rubyใง้
ๅใใ้่คใใ่ฆ็ด ใๅใ้คใใซใฏ๏ผuniqใกใฝใใใฎไฝฟใๆนใๅพนๅบ่งฃ่ชฌ | ใใใใณในใฟใคใซ](https://style.potepan.com/wp-content/uploads/2021/06/shot_20210613_uniq.jpg)
Rubyใง้ ๅใใ้่คใใ่ฆ็ด ใๅใ้คใใซใฏ๏ผuniqใกใฝใใใฎไฝฟใๆนใๅพนๅบ่งฃ่ชฌ | ใใใใณในใฟใคใซ
![Aaron Patterson on Twitter: "The same code, but Ruby 2.6 allocates 10k fewer arrays https://t.co/b0to9qEICd" / Twitter Aaron Patterson on Twitter: "The same code, but Ruby 2.6 allocates 10k fewer arrays https://t.co/b0to9qEICd" / Twitter](https://pbs.twimg.com/media/D19nn-tVYAEUpOy.png)