Exception: Tmux::Exception::UnsupportedVersion
- Inherits:
-
BasicException
- Object
- StandardError
- BasicException
- Tmux::Exception::UnsupportedVersion
- Defined in:
- lib/tmux/exception/unsupported_version.rb
Overview
Raised if a version requirement isn't met
Instance Method Summary collapse
-
#initialize(version = nil) ⇒ UnsupportedVersion
constructor
A new instance of UnsupportedVersion.
Constructor Details
#initialize(version = nil) ⇒ UnsupportedVersion
Returns a new instance of UnsupportedVersion.
6 7 8 9 10 11 12 |
# File 'lib/tmux/exception/unsupported_version.rb', line 6 def initialize(version = nil) if version = "Required tmux version: #{version}" end super end |