# LibTmux::Workspace.load

**Workspace Manager concept example** A working example of the core library. It can change without notice.

- **Module:** LibTmux
- **Package:** libtmux-workspace
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/46474e8a2f03e39fc2b0ff73b6a841777b79c4d2/gems/libtmux-workspace/lib/libtmux/workspace.rb#L23
- **Page:** https://libtmux.org/en/ruby/v0.1.2/workspace/reference/libtmux-workspace-load/

```
def self.load: (
  ::String,
  ?format: :yaml | :json | nil,
  ?expand_environment: bool,
  ?environment: ::Hash[::String, ::String],
  **::Integer
) -> ::LibTmux::Workspace
```

Behavior: Workspace parsing.

Behavior contract: Workspace parsing.

## Parameters

- `arg1` (`::String`)
- `format` (`:yaml | :json | nil`)
- `expand_environment` (`bool`)
- `environment` (`::Hash[::String, ::String]`)
- `kwargs` (`::Integer`)

## Guides

Pages that discuss `load`.

### Ports

- [tmux workspace manager, forged in Ruby.](/en/ruby/v0.1.2/workspace/)
- [load](/en/ruby/v0.1.2/workspace/cli/load/)
- [Ruby workspace examples](/en/ruby/v0.1.2/workspace/examples/)
- [Ruby workspace guides](/en/ruby/v0.1.2/workspace/guides/)

### Workspace

- [Workspace guide](/en/ruby/v0.1.2/workspace/source-guide/)
