Exception: Tmux::Exception::IndexInUse
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Tmux::Exception::IndexInUse
- Defined in:
- lib/tmux/exception/index_in_use.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ IndexInUse
constructor
A new instance of IndexInUse.
Constructor Details
#initialize(args) ⇒ IndexInUse
Returns a new instance of IndexInUse.
4 5 6 |
# File 'lib/tmux/exception/index_in_use.rb', line 4 def initialize(args) super "Index '%s' in session '%s' in use" % [args.last, args.first.identifier] end |