Struct
suggest changeVersions
The notes in this section were written for Ruby 1.9–2.3. Struct is still part of current Ruby.
Syntax
- Structure = Struct.new :attribute
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents