Module: BioChEMBL
- Defined in:
- lib/bio-chembl/assay.rb,
lib/bio-chembl/chembl.rb,
lib/bio-chembl/target.rb,
lib/bio-chembl/chemblid.rb,
lib/bio-chembl/compound.rb,
lib/bio-chembl/datamodel.rb,
lib/bio-chembl/bioactivity.rb,
lib/bio-chembl/rest_client.rb
Defined Under Namespace
Modules: DataModel Classes: Assay, Bioactivity, ChEMBLID, Compound, REST, Target
Class Method Summary collapse
-
.to_array(str) ⇒ Object
Multi value utility.
-
.website ⇒ Object
ChEMBL Website.
Class Method Details
.to_array(str) ⇒ Object
Multi value utility
BioChEMBL.to_array(aTarget.synonyms) #=> []
19 20 21 |
# File 'lib/bio-chembl/chembl.rb', line 19 def self.to_array(str) str.to_s.split('; ') end |
.website ⇒ Object
ChEMBL Website
11 12 13 |
# File 'lib/bio-chembl/chembl.rb', line 11 def self.website "https://www.ebi.ac.uk/chembl/" end |