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

- (UnsupportedVersion) initialize(version = nil)



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