Skip to content

Typing a class instance variable #159

@jaredcwhite

Description

@jaredcwhite

This may be a limitation of YARD tags, but I have a module that's trying to set class instance variables, and I'm not sure how I can get those typings to be output by Sord. The RBS file needs to have something like this:

  module ClassMethods
    @tag_name: String

but how to get that instance variable definition in there is the question…

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions