A struct is a built-in Ruby class, it's used to create new classes which produce ... An array [10, 20]; A hash { x: 10, y: 10 }; An object Point.new(10, 20).
確定! 回上一頁