class Blender::Utils::UI

Public Class Methods

new() click to toggle source
# File lib/blender/utils/ui.rb, line 23
def initialize
  @mutex = Mutex.new
  @highline = HighLine.new
end

Public Instance Methods

color(string, *colors) click to toggle source
# File lib/blender/utils/ui.rb, line 46
def color(string, *colors)
  @highline.color(string, *colors)
end
puts(string) click to toggle source
# File lib/blender/rspec.rb, line 43
def puts(string)
end
puts_cyan(string) click to toggle source
# File lib/blender/utils/ui.rb, line 38
def puts_cyan(string)
  puts(color(string, :cyan))
end
puts_green(string) click to toggle source
# File lib/blender/utils/ui.rb, line 42
def puts_green(string)
  puts(color(string, :green))
end
puts_red(string) click to toggle source
# File lib/blender/utils/ui.rb, line 34
def puts_red(string)
  puts(color(string, :red))
end