Module: ODDB::MedData

Defined in:
ext/meddata/src/result.rb,
ext/meddata/src/meddata.rb,
ext/meddata/src/session.rb,
ext/meddata/src/drbsession.rb,
ext/meddata/src/meddparser.rb,
ext/meddata/src/ean_factory.rb,
ext/meddata/test/test_result.rb,
ext/meddata/test/test_ean_factory.rb

Defined Under Namespace

Classes: DRbSession, DetailWriter, EanFactory, EanFactoryTest, Formatter, OverflowError, Result, ResultTest, ResultWriter, Session

Class Method Summary collapse

Class Method Details

.session(search_type = :partner) {|DRbSession.new(search_type)| ... } ⇒ Object

Yields:



14
15
16
# File 'ext/meddata/src/meddata.rb', line 14

def MedData.session(search_type=:partner, &block)
	yield(DRbSession.new(search_type))
end