是否有可能从方法返回多个值?像这样的东西:
def someMethod() return ["a", 10, SomeObject.new] end [a, b, c] = someMethod
ruby
ruby ×1