module Nehm
  module UI
    def self.error(message)
      puts "#{message}\n".red
    end

    def self.newline
      puts "\n"
    end

    def self.say(message)
      puts message
    end

    def self.success(message)
      puts message.green
    end

    def self.term(message)
      if message
        abort message.red
      else
        exit
      end
    end

    def self.warning
      puts "#{message}\n".yellow
    end

  end
end

module Nehm
  module UI
    def self.error(message)
      puts "#{message}\n".red
    end

    def self.newline
      puts "\n"
    end

    def self.say(message)
      puts message
    end

    def self.success(message)
      puts message.green
    end

    def self.term(message = nil)
      if message
        abort message.red
      else
        exit
      end
    end

    def self.warning
      puts "#{message}\n".yellow
    end

  end
end

Add default message for UI.term
Add default message for UI.term
