You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes we run into inaccessible context when debugging, such as anonymous arguments: *, **, &, ..., or arguments that conflict with Ruby keywords, such as class, end, if.
In these situations, it would be useful to be able to peek at the context. Maybe there’s a better name for this concept, but essentially it would be an IRB command that just returns *args, **kwargs, and &block.
The text was updated successfully, but these errors were encountered:
joeldrapper
changed the title
Add a command to peek at otherwise inaccessible variables
Add a command to peek at otherwise inaccessible context
Jul 1, 2024
Sometimes we run into inaccessible context when debugging, such as anonymous arguments:
*
,**
,&
,...
, or arguments that conflict with Ruby keywords, such asclass
,end
,if
.In these situations, it would be useful to be able to peek at the context. Maybe there’s a better name for this concept, but essentially it would be an IRB command that just returns
*args
,**kwargs
, and&block
.This would support things like:
Does this sound useful to anyone else?
The text was updated successfully, but these errors were encountered: