My version of periodic_table gem (Let's Write a Gem tutorial - parts 1 and 2)
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
spec
.gitignore
.rvmrc
Gemfile
LICENSE
README.md
Rakefile
oxygen_weight.rb
periodic_table_jasnow.gemspec

README.md

periodic_table_jasnow

Provide periodic table data.

Installation

$ gem install periodic_table_jasnow

Usage

require 'periodic_table_jasnow'

# Lookup data for an element by name.
PeriodicTableJasnow.lookup 'oxygen'

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request