elementic 0.8 → 0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/elementic.rb +3 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bfea991222c69eb763824f2b776da50d49af93da
4
- data.tar.gz: 6d0a18c227d764def065212cb12c70c4c9bd98bf
3
+ metadata.gz: 40c0c94d2f0a6216a79e963222201329184326ed
4
+ data.tar.gz: f54a6c4531419edd8e44f4092c9cbe97a0292ef2
5
5
  SHA512:
6
- metadata.gz: 838a94e02370493a66c45d4970add05e65e2b8b67bfcee923396a5c7e408d30b5e2803916b5ba238e9c7457af67dde799c4b1c969d0b4842da290df193044cf2
7
- data.tar.gz: d93b50716d064844ad4c030ce112728c3a5a59119c106580f3f19c6d93bc535f9abc58bb13df89871fe3564bdd3f2e51538de849fcb8664399b912f54176ef17
6
+ metadata.gz: efb7c6d83b3713d60504f8ae2f3edd625ca83cc6506bb8ee26eea1ecd9a754dd2280d281e1b644a7ce999b04f0aa5aa5dbaa4281595bf5d626e5b5a7279c2686
7
+ data.tar.gz: 966fd5abfe42c7ad25690c809a21a0b7b238bfb6c64f577ccfecb57d3e255158ddb7b4c25d3368de4122a836ebcea35e0073bda87db95aa8266212ed6f3efe11
data/lib/elementic.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- VERSION = '0.8'
2
+ VERSION = '0.9'
3
3
 
4
4
  $elements = {
5
5
  'H' => 'Hydrogen',
@@ -111,6 +111,7 @@ $elements = {
111
111
  'Bh' => 'Bohrium',
112
112
  'Hs' => 'Hassium',
113
113
  'Mt' => 'Meitnerium'
114
+ # add stable elements
114
115
  }
115
116
 
116
117
  # Define some extra methods for class String
@@ -193,8 +194,7 @@ class Elementic
193
194
 
194
195
  def self.list
195
196
  $elements.each do |i|
196
- puts i
197
- puts
197
+ print "#{i} \n"
198
198
  end
199
199
  return $elements.length
200
200
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elementic
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.8'
4
+ version: '0.9'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh