Class: Syobocal::DB::ChLookup::Mapper
- Inherits:
-
Object
- Object
- Syobocal::DB::ChLookup::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.
174 175 176 177 178 179 180 181 182 183 184 185 186 |
# File 'lib/syobocal/db.rb', line 174 def initialize @map = { "LastUpdate" => :time, "ChID" => :int, "ChName" => :str, "ChiEPGName" => :str, "ChURL" => :str, "ChEPGURL" => :str, "ChComment" => :str, "ChGID" => :int, "ChNumber" => :int, } end |