module Tmuxinator::WemuxSupport

Public Instance Methods

load_wemux_overrides() click to toggle source
# File lib/tmuxinator/wemux_support.rb, line 7
def load_wemux_overrides
  self.instance_eval do
    def render
      template = File.read(Tmuxinator::Config.wemux_template)
      Erubis::Eruby.new(template).result(binding)
    end

    def name
      "wemux"
    end

    def tmux
      "wemux"
    end
  end
end
name() click to toggle source
# File lib/tmuxinator/wemux_support.rb, line 14
def name
  "wemux"
end
render() click to toggle source
# File lib/tmuxinator/wemux_support.rb, line 9
def render
  template = File.read(Tmuxinator::Config.wemux_template)
  Erubis::Eruby.new(template).result(binding)
end
tmux() click to toggle source
# File lib/tmuxinator/wemux_support.rb, line 18
def tmux
  "wemux"
end
wemux?() click to toggle source
# File lib/tmuxinator/wemux_support.rb, line 3
def wemux?
  yaml["tmux_command"] == "wemux"
end