rbs icon indicating copy to clipboard operation
rbs copied to clipboard

Struct has almost none of its method defined

Open sdaubert opened this issue 2 years ago • 2 comments

In rbs file for Struct class, there is no definition for:

  • []
  • []=
  • deconstruct
  • deconstruct_keys
  • dig
  • length
  • members (there is a definition on class level, but not on instance level)
  • size
  • values
  • values_at

sdaubert avatar Feb 24 '23 16:02 sdaubert

You're right, that's bizarre. I'll work on that soon

sampersand avatar Aug 22 '23 03:08 sampersand

https://github.com/ruby/rbs/pull/1456

sampersand avatar Aug 22 '23 22:08 sampersand