Module: PeriodicTable

Defined in:
lib/periodic_table.rb,
lib/periodic_table/version.rb,
lib/periodic_table/periodic_table_api.rb

Defined Under Namespace

Classes: PeriodicTableApi

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.lookup(element_name) ⇒ Object



5
6
7
# File 'lib/periodic_table.rb', line 5

def self.lookup(element_name)
  PeriodicTableApi.new.query(element_name)
end