新版本的变更 / Ruby 2.7
Pattern matching with case/in
Numbered block parameters _1, _2
Enumerable#filter_map
Enumerable#tally
Beginless ranges
Argument forwarding with (...)
Comparable#clamp with a Range
Comparable#clamp with a Range
此示例属于完整版,可在应用商店购买:
Code Recipes
App Store
已经购买?登录您的账户