New in Ruby 3.2: Data.define
Share this page | Read it later using CloudBreak Wallabag
Succinctly put Data.define creates an immutable Struct type which can be initialized with either positional or keyword arguments
Share this page | Read it later using CloudBreak Wallabag
Succinctly put Data.define creates an immutable Struct type which can be initialized with either positional or keyword arguments