class Applocale::Config::Setting

Attributes

configfile_pathstr[RW]
convert_file[RW]
export_format[RW]
export_to[RW]
google_credentials_path[RW]
is_skip_empty_key[RW]
lang_path_list[RW]
platform[RW]
resource_folder[RW]
rubycode[RW]
sheet_obj_list[RW]
xlsxpath[RW]

Public Class Methods

new(configfile_pathstr) click to toggle source
# File lib/applocale/Core/setting.rb, line 27
def initialize(configfile_pathstr)
  self.configfile_pathstr = configfile_pathstr
  self.lang_path_list = Array.new
  self.sheet_obj_list = Array.new
end

Public Instance Methods

printlog() click to toggle source
# File lib/applocale/Core/setting.rb, line 33
def printlog
  puts ' In Setting'
  puts "  link = #{self.link}"
  puts "  platform = #{self.platform}"
  puts "  resource_folder = #{self.resource_folder}"
  puts "  xlsxpath = #{self.xlsxpath}"
  puts "  google_credentials_path = #{self.google_credentials_path} "

  puts "  lang_path_list = "
  self.lang_path_list.each do |langpath_obj|
    puts "    #{langpath_obj.to_s}"
  end
  puts "  sheet_obj_list = "
  self.sheet_obj_list.each do |sheet_obj|
    puts "    #{sheet_obj.to_s}"
  end

  puts " export_format: #{export_format}"
  puts " export_to: #{export_to}"
  puts " is_skip_empty_key: #{self.is_skip_empty_key} "
  puts " convertFile: #{self.convert_file.filepath}"
  # puts self.rubycode

end