lib/apstrings.rb in apstrings-0.1.0 vs lib/apstrings.rb in apstrings-0.1.1
- old
+ new
@@ -1,15 +1,25 @@
require "apstrings/version"
+require 'colorize'
module Apstrings
require 'apstrings/reader'
require 'apstrings/strings_parser'
# Public
def self.parse(file)
- file = read(file)
+ file = Apstrings::read(file)
StringsParser.new(file).parse_file
end
def self.read(file)
Reader.read(file)
end
+
+ def self.check(path = File::expand_path("."), master = "zh-Hans")
+ p "Checking files recursively for #{path} according to master strings file name : #{master}"
+
+
+ end
+
end
+
+