Class: Syobocal::DB::ProgLookup::Mapper
- Inherits:
-
Object
- Object
- Syobocal::DB::ProgLookup::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
122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 |
# File 'lib/syobocal/db.rb', line 122 def initialize @map = { "LastUpdate" => :time, "PID" => :int, "TID" => :int, "StTime" => :time, "StOffset" => :int, "EdTime" => :time, "Count" => :int, "SubTitle" => :str, "ProgComment" => :str, "Flag" => :int, "Deleted" => :int, "Warn" => :int, "ChID" => :int, "Revision" => :int, "STSubTitle" => :str, } end |