Closed dubek closed 8 years ago
I like it!
Of course it'll need to have special YARD directive so it doesn't appear in the API docs.
@xaviershay Your opinion about this suggestion? Any idea if any other library acts in a similar fashion?
This is a good idea. I was surprised a week or so ago, when I found no []=
method on a Hamster Hash object. I thought I'd done something wrong until I went and confirmed my suspicion in the source code.
Not sure if it's a good idea but thought I'd raise it anyway:
And same for
Vector#[]=
, I guess.(As a bonus we get the string
[]=(*)
in our code which is like an emoticon of a small robot.)