Class | RDtitle::RDchapterform |
In: |
rdstyle.rb
|
Parent: | Object |
チャプターのフォーム情報クラス RDtitle用クラスでユーザーが触る事は無い
target | [R] |
初期化する
# File rdstyle.rb, line 346 def initialize(target) @target = target @value = Hash.new @sort = Hash.new end
ソート順に文字列化
# File rdstyle.rb, line 359 def postdata buf = "" @sort.to_a.sort{|a, b| a[1] <=> b[1]}.each do |name, pos| buf << format("%s=%s&", name, CGI.escape(@value[name])) end return buf.chop end