lib/arql/repl.rb in arql-0.1.2 vs lib/arql/repl.rb in arql-0.1.3

- old
+ new

@@ -1,7 +1,9 @@ require 'pry' require 'pry-byebug' +require 'arql/commands' +require 'rainbow' module Arql class Repl def initialize Pry.config.prompt = Pry::Prompt.new("", "", prompt) @@ -27,10 +29,10 @@ if obj == main_object && nest_level == 0 nest_level_prompt = '' else nest_level_prompt = "(#{obj}:#{nest_level})" end - "ARQL#{nest_level_prompt} -> " + "%s#{nest_level_prompt} %s " % [Rainbow('ARQL').red, Rainbow('❯').green] end] end end end