enum

Smith::Mode

Inherits Enum < Comparable < Value < Object

What the main thread is allowed to do. Plan is research-only: every mutating tool is refused until the user has seen and approved a plan.

Constants

Normal = 0
Plan = 1

Constructors

from_string(str : String) : Mode

Used for --plan, SMITH_MODE and [defaults] mode. Anything unrecognised falls back to Normal rather than failing the run — same forgiving rule the rest of the config chain follows.

Source

Instance methods

normal?

Returns true if this enum value equals Normal

Source
plan?

Returns true if this enum value equals Plan

Source