F2C 0.0.0 → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/F2C.rb +10 -1
  3. metadata +5 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 299e6cca8e73115d0fdbb93ef448ab7449206328
4
- data.tar.gz: c09b789b1a06aeacacb7f2a52f2105956c94aa01
3
+ metadata.gz: ba29c98d3dc27ce10da9c793d3c1f449281665b2
4
+ data.tar.gz: 8dac78da20362c1c5a09a6cc77877d1623435beb
5
5
  SHA512:
6
- metadata.gz: e763cf98f4544bd538152bc997b9dc0bd054480a712a707a5e8c52aa0c09088318974b3255dc1d63ad2ff62f5f145e41483d064a1b43e652e989eff29a309849
7
- data.tar.gz: 84f2b19a8d80173d7c280795696da9b0472791099b6159a22b8994f80f2ab4e3d51706255ea1c316713da05b56897d8b50d83de8e55c11034ccb85b5376efc0b
6
+ metadata.gz: 42dacb4e4df39401ab07afc83da36ef7293877394626cf89f6182394dba263b68230ccc80ca2ef35042d34002692a5d631ce17878bb7984ff7fa2519071fd429
7
+ data.tar.gz: 367ecd3d412979cb153df05f7ed1419404e97f50c53323ec0c510f8d3d067d030ef64d1f3bd4883c4b0225387ee7499418509f9af9f73675a10ef8ca422668e3
data/lib/F2C.rb CHANGED
@@ -1,5 +1,14 @@
1
1
  module Convert
2
- #http://www.manuelsweb.com/temp.htm
2
+ # Overveiw
3
+ # F2C converts Fahrenheit to Celsius and vice versa
4
+ # Fahrenheit to Celsius formulas http://www.manuelsweb.com/temp.htm
5
+ #
6
+ # How to use it
7
+ # gem install F2C
8
+ # launch irb
9
+ # require 'F2C'
10
+ # Convert.F2C(value) - "converts Fahrenheit to Celsius"
11
+ # Convert.C2F9(value) - "onverts Celsius to Fahrenheit"
3
12
 
4
13
  def self.F2C value
5
14
  converted_value = ((value - 32) * 5.0/9.0).round
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: F2C
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenny Lu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-21 00:00:00.000000000 Z
11
+ date: 2014-11-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: Class project - F2C converts Fahrenheit to Celsius and vice versa
13
+ description: Ruby class project - F2C converts Fahrenheit to Celsius and vice versa
14
14
  email:
15
15
  - lukenny@gmail.com
16
16
  executables: []
@@ -41,5 +41,6 @@ rubyforge_project:
41
41
  rubygems_version: 2.0.14
42
42
  signing_key:
43
43
  specification_version: 4
44
- summary: Class project - Fahrenheit to Celsius conversion and vice versa
44
+ summary: Ruby class project - Fahrenheit to Celsius conversion and vice versa
45
45
  test_files: []
46
+ has_rdoc: