#!/usr/bin/env ruby

require 'tmrb'

tmux = TmRb::Multiplexer.new
#creates an empty window
tmux.new_session(session_name: 'the_array_comparator')

tmux.new_window(:name => 'code', :command => "zsh -c 'vim -p lib/**/*.rb'")
tmux.new_window(:name => 'spec', :command => "zsh -c 'vim -p spec/**/*.rb'")
tmux.new_window(:name => 'features', :command => "zsh -c 'vim -p features/**/*.{rb,feature}'")
tmux.start