lib/Charu.rb in Charu-0.0.4 vs lib/Charu.rb in Charu-0.0.6
- old
+ new
@@ -7,22 +7,28 @@
require 'Charu/ChangeLogMemo'
require 'Charu/Config'
require 'Charu/Template'
require 'Charu/CreateHtml'
+require 'Charu/FTP'
-
-
module Charu
# Your code goes here...
end
-if nil != ARGV[0] then
- changelogmemo = Charu::ChangeLogMemo.new(ARGV[0])
- changelogmemo.get_item_sort_reverse().each{|i|
- #p i.datetime
- #p i.get_item_title.encode(Encoding::SJIS)
+changelogmemo = Charu::ChangeLogMemo.new()
+changelogmemo.get_item_sort_reverse(1).each{|key, items|
+ items.each{|item|
+ #p item.date
+ #p item.get_item_title.encode(Encoding::SJIS)
#p i.get_item_category()
}
- #changelogmemo.get_category_list()
-end
\ No newline at end of file
+}
+p changelogmemo.article_size_max()
+p changelogmemo.article_size_()
+#p changelogmemo.get_category_cnt()
+
+
+createhtml = Charu::CreateHtml.new()
+
+