Class: Canopus::Workspace::Plan

Inherits:
Object
  • Object
show all
Defined in:
sig/workspace_edits.rbs

Overview

A preflighted, single-use plan. Resource changes still require explicit UI confirmation at Workspace#apply_workspace_edit; construction does not write.

Instance Method Summary collapse

Constructor Details

#initialize ⇒ Plan

Returns a new instance of Plan.

Parameters:



6
# File 'sig/workspace_edits.rbs', line 6

def initialize: (Workspace workspace, Sadr::object edit) -> void

Instance Method Details

#apply ⇒ Sadr::object

Returns:

  • (Sadr::object)


7
# File 'sig/workspace_edits.rbs', line 7

def apply: () -> Sadr::object

#close ⇒ void

This method returns an undefined value.



8
# File 'sig/workspace_edits.rbs', line 8

def close: () -> void