Sha256: 52bc6ee01104e8a5785ce9ebe94ccee7d341fa7f79b90bcde433a82cc27e4665
Contents?: true
Size: 832 Bytes
Versions: 15
Compression:
Stored size: 832 Bytes
Contents
# # = sample/demo_litdb.rb - demonstration of Bio::LITDB # # Copyright:: Copyright (C) 2001 Toshiaki Katayama <k@bioruby.org> # License:: The Ruby License # # # == Description # # Demonstration of Bio::LITDB, LITDB literature database parser class. # # == Requirements # # Internet connection and/or OBDA (Open Bio Database Access) configuration. # # == Usage # # Simply run this script. # # $ ruby demo_litdb.rb # # == Development information # # The code was moved from lib/bio/db/litdb.rb. # require 'bio' #if __FILE__ == $0 entry = Bio::Fetch.query('litdb', '0308004') puts entry p Bio::LITDB.new(entry).reference entry = Bio::Fetch.query('litdb', '0309094') puts entry p Bio::LITDB.new(entry).reference entry = Bio::Fetch.query('litdb', '0309093') puts entry p Bio::LITDB.new(entry).reference #end
Version data entries
15 entries across 15 versions & 1 rubygems