#-------------------------------------------------------------------------- # ● 获取所有特性实例的数组 #-------------------------------------------------------------------------- def all_features feature_objects.inject([]) {|r, obj| r + obj. features} end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |