lib/yac.rb in yac-1.4.2 vs lib/yac.rb in yac-1.4.3

- old
+ new

@@ -3,11 +3,11 @@ module Yac include Format extend self - VERSION = '1.4.2' + VERSION = '1.4.3' @color = { 'head1' => "1;31", 'head2' => "1;36", 'head3' => "1;33", @@ -30,9 +30,11 @@ CONFIG["root"] ||= File.join(ENV['HOME'],".yac") @main_path = File.join(CONFIG["root"],"/main/") @pri_path = File.join(CONFIG["root"],"/private/") + Dir.mkdir(@main_path) unless File.exist?(@main_path) + Dir.mkdir(@pri_path) unless File.exist?(@pri_path) def new(args) operate, target = args.shift.to_s , args.join(' ').to_s case operate