Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure workspace management #888

Merged
merged 4 commits into from
Mar 1, 2024
Merged

Commits on Feb 25, 2024

  1. Remove dead irb_level method

    st0012 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    7cf74af View commit details
    Browse the repository at this point in the history
  2. Restructure workspace management

    Currently, workspace is an attribute of IRB::Context in most use cases.
    But when some workspace commands are used, like `pushws` or `popws`, a
    workspace will be created and used along side with the original workspace
    attribute.
    
    This complexity is not necessary and will prevent us from expanding
    multi-workspace support in the future.
    
    So this commit introduces a @workspace_stack ivar to IRB::Context so IRB
    can have a more natural way to manage workspaces.
    st0012 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    fe33141 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. Fix pushws without args

    st0012 committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    02a6402 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Configuration menu
    Copy the full SHA
    8ea782d View commit details
    Browse the repository at this point in the history