Class: Syobocal::DB::TitleLookup::Mapper
- Inherits:
-
Object
- Object
- Syobocal::DB::TitleLookup::Mapper
- Includes:
- Mapper
- Defined in:
- lib/syobocal/db.rb
Instance Method Summary collapse
-
#initialize ⇒ Mapper
constructor
A new instance of Mapper.
Methods included from Mapper
Constructor Details
#initialize ⇒ Mapper
Returns a new instance of Mapper.
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/syobocal/db.rb', line 67 def initialize @map = { "TID" => :int, "LastUpdate" => :time, "Title" => :str, "ShortTitle" => :str, "TitleYomi" => :str, "TitleEN" => :str, "Comment" => :str, "Cat" => :int, "TitleFlag" => :int, "FirstYear" => :int, "FirstMonth" => :int, "FirstEndYear" => :int, "FirstEndMonth" => :int, "FirstCh" => :str, "Keywords" => :str, "UserPoint" => :int, "UserPointRank" => :int, "SubTitles" => :str, } end |