Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Class constructors #2

@trans

Description

@trans

Just read http://blog.mojotech.com/post/38317154050/code-with-clarity, and realized that all the parse methods could have methods by the class name. That's a Rubyism.

    def Author(*args)
      Author.parse(*args)
    end

And so on for each component class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions