Skip to content

Rewrite #initialize of immutable structs to accept no args, and setup no internal values, and add #initialize_from(hash) #1

Description

@dcrosby42

Let .new and #initialize work quickly and do no work.

Provide some means for a user-defined #initialize to setup the internal @DaTa Hamster.hash.

Allow initialization of fields in new instances via #initialize_from.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions