Exception: Tmux::Exception::UnsupportedVersion

Inherits:
BasicException
  • Object
show all
Defined in:
lib/tmux/exception/unsupported_version.rb

Overview

Raised if a version requirement isn't met

Instance Method Summary collapse

Constructor Details

#initialize(version = nil) ⇒ UnsupportedVersion

Returns a new instance of UnsupportedVersion.

Parameters:

  • version (String) (defaults to: nil)

    The required version



6
7
8
9
10
11
12
# File 'lib/tmux/exception/unsupported_version.rb', line 6

def initialize(version = nil)
  if message
    version = "Required tmux version: #{version}"
  end

  super
end