lib/bio-ucsc/hg18/gap.rb in bio-ucsc-api-0.4.0 vs lib/bio-ucsc/hg18/gap.rb in bio-ucsc-api-0.5.0
- old
+ new
@@ -11,12 +11,9 @@
module Bio
module Ucsc
module Hg18
class Gap
- include DBConnector
- DBConnection.database "hg18"
-
Bio::Ucsc::Hg18::CHROMS.each do |chr|
class_eval %!
class #{chr[0..0].upcase + chr[1..-1]}_Gap < DBConnection
self.table_name = "#{chr[0..0].downcase + chr[1..-1]}_gap"
self.primary_key = nil