Changeset 18760
- Timestamp:
- 09/03/08 21:21:49 (4 months ago)
- Location:
- lang/ruby/echola
- Files:
-
- 2 modified
-
hatenahaiku-download.rb (modified) (1 diff)
-
lib/mycabinet.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/ruby/echola/hatenahaiku-download.rb
r18438 r18760 18 18 $logger.info "writing entries between #{content[0]['created_at']} and #{content[-1]['created_at']} ..." 19 19 content.each do |item| 20 db.putasync(item .id.to_s, item.to_yaml)20 db.putasync(item['id'].to_s, item.to_yaml) 21 21 end 22 22 end -
lang/ruby/echola/lib/mycabinet.rb
r16762 r18760 2 2 3 3 module MyCabinet 4 [TokyoCabinet::HDB, TokyoCabinet::BDB , TokyoCabinet::FDB].each do |db|4 [TokyoCabinet::HDB, TokyoCabinet::BDB].each do |db| 5 5 k = Class.new(db) 6 6 k.class_eval do
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)