# LibTmux::GuardedBlock.new

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/dcc9f8b5a6970144a9e7d80cd5f381d8f6198372/gems/libtmux/lib/libtmux/control.rb#L10
- **Page:** https://libtmux.org/en/ruby/v0.1.0.alpha.2/reference/libtmux-guardedblock-new/

```
def self.new: (
  guard: ::Array[::Integer],
  body: ::String,
  terminator: :end | :error,
  bytesize: ::Integer,
  opening: ::String,
  closing: ::String
) -> ::LibTmux::GuardedBlock
```

Behavior: Control evidence.

Behavior contract: Control evidence.
