Sha256: 182b11005b3a42591632034cd95bfa3aa7783cfae6939f0e37e5bb1a7f6c45e0

Contents?: true

Size: 222 Bytes

Versions: 55

Compression:

Stored size: 222 Bytes

Contents

module Tmuxinator
  module Util
    include Thor::Actions

    def exit!(msg)
      puts msg
      Kernel.exit(1)
    end

    def yes_no(condition)
      condition ? say("Yes", :green) : say("No", :red)
    end
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
tmuxinator-3.1.2 lib/tmuxinator/util.rb
tmuxinator-3.1.1 lib/tmuxinator/util.rb
tmuxinator-3.1.0 lib/tmuxinator/util.rb
tmuxinator-3.0.5 lib/tmuxinator/util.rb
tmuxinator-3.0.4 lib/tmuxinator/util.rb
tmuxinator-3.0.3 lib/tmuxinator/util.rb
tmuxinator-3.0.2 lib/tmuxinator/util.rb
tmuxinator-3.0.1 lib/tmuxinator/util.rb
tmuxinator-3.0.0 lib/tmuxinator/util.rb
tmuxinator-2.0.3 lib/tmuxinator/util.rb
tmuxinator-2.0.2 lib/tmuxinator/util.rb
tmuxinator-2.0.1 lib/tmuxinator/util.rb
tmuxinator-2.0.0 lib/tmuxinator/util.rb
tmuxinator-1.1.5 lib/tmuxinator/util.rb
tmuxinator-1.1.4 lib/tmuxinator/util.rb
tmuxinator-1.1.3 lib/tmuxinator/util.rb
tmuxinator-1.1.2 lib/tmuxinator/util.rb
tmuxinator-1.1.1 lib/tmuxinator/util.rb
tmuxinator-1.1.0 lib/tmuxinator/util.rb
tmuxinator-1.0.0 lib/tmuxinator/util.rb