-
Notifications
You must be signed in to change notification settings - Fork 4
Share variables between shell and ruby #26
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I left a comment here on a previous discussion #14 (comment).
For total integration between shell and ruby, variables from the top level scope must be shared.
I'm not sure how difficult this is, but probably some "shell-level" integration will be required, for example a zsh-plugin.
Potentially, I've thought about some background process running an irb session that each command from the shell is passed into.
Essentially storing context/state in a background irb object. That way you can switch between "shell-mode" and "ruby-mode" whilst maintaining variable context.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request