Skip to content

Wrong Examples in Generic Methods #233

Description

@Flipez

Every literal type documentation repeats the same generic methods section, but with incorrect examples:

## Generic Literal Methods (in array.md, hash.md, etc.)
### to_s()
<CodeBlockSimple input='"test".type()'  // STRING example in ARRAY docs!

Recommendation:

  • Create a single "Generic Object Methods" page
  • Link to it from each literal type page
  • Show type-appropriate examples for each type

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions