require 'colored'

module Nehm::UI
  def self.error(expression)
    abort expression.red
  end

  def self.newline
    puts "\n"
  end

  def self.say(expression)
    puts expression
  end

  def self.terminate_interaction
    exit
  end

  def self.warning
    puts expression.yellow
  end
end

require 'colored'

module Nehm::UI
  def self.error(message)
    abort "#{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.warning
    puts "#{message}\n".yellow
  end
end

Edit UI module Add success method Add newlines to and error warning Use message instead of expression
Edit UI module
Add success method
Add newlines to and error warning
Use message instead of expression
