lib/Charu/Config.rb in Charu-0.0.7 vs lib/Charu/Config.rb in Charu-0.0.8
- old
+ new
@@ -1,15 +1,14 @@
# -*- encoding: utf-8 -*-
config = ""
-config = '
-# -*- encoding: utf-8 -*-
+config = '# -*- encoding: utf-8 -*-
module Charu
class Config
attr_accessor :home_title, :top_home_page, :home_category, :home_description, :css_theme_path, :private_category
- attr_accessor :change_log_path, :article_size, :www_html_out_path, :www_html_out_path_private
+ attr_accessor :change_log_path, :article_size, :www_html_out_path, :www_html_out_path_private, :public_category
attr_accessor :ftp_server, :ftp_port, :ftp_user, :ftp_pass
def initialize()
# ホームページタイトル
@home_title = "TestPage"
@@ -23,12 +22,15 @@
@home_description = "日々勉強中"
# CSS Path
@css_theme_path = "./css/"
- # プライベートカテゴリー
- @private_category = ["Private", "P", "★", "2ch", "5ch"]
+ # プライベートカテゴリー
+ @private_category = ["Private", "P", "★", "2ch", "5ch", "PS", "Life"]
+ # パブリックカテゴリー
+ @public_category = ["Public"]
+
# Change_Log_path
@change_log_path = "./../ChangeLog"
# 一度に表示する記事数
@article_size = 50