ismedicine 0.0.4

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 +7 -0
  2. data/lib/ismedicine.rb +22 -0
  3. metadata +43 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9bba7a2669670215af06065114efb6049fe0ac93
4
+ data.tar.gz: 6e1ef4eb15644591898d9921a091963359559880
5
+ SHA512:
6
+ metadata.gz: ba559b9cbcecb63eb50f67ac85afdec42e8a9942ec3a1c38537967f27875105cde6ab9d85dbbf7ad9438b5f4f20107a42725f30de2009850773b50338ed0c701
7
+ data.tar.gz: 67c38de3e67b4041b50b70fff3766cdafc8b64f7bc37b561255f2f95c149fad144f5596ae4c0fadc09f479865df3edd66fdaefa0d20a076779b86693d4c213e1
data/lib/ismedicine.rb ADDED
@@ -0,0 +1,22 @@
1
+ class Checkcondition
2
+ def self.runcheck(condition)
3
+ if condition == 1
4
+ ans = "Uniflu"
5
+ elsif (condition == 2)
6
+ ans = "ritalin"
7
+ elsif (condition == 3)
8
+ ans = "Paracetamol"
9
+ elsif (condition == 4)
10
+ ans = "Nurofen"
11
+ elsif (condition == 5)
12
+ ans = "Calpol"
13
+ elsif (condition == 6)
14
+ ans = "Imodium"
15
+ elsif (condition == 7)
16
+ ans = "Antibiotic"
17
+ elsif (condition == 8)
18
+ ans = "Xanax"
19
+ end
20
+ return ans
21
+ end
22
+ end # End Module
metadata ADDED
@@ -0,0 +1,43 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ismedicine
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.4
5
+ platform: ruby
6
+ authors:
7
+ - Sean Cowley
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2011-10-03 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: A simple gem
14
+ email: seancowley9600@gmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/ismedicine.rb
20
+ homepage: http://rubygems.org/gems/ismedicine
21
+ licenses: []
22
+ metadata: {}
23
+ post_install_message:
24
+ rdoc_options: []
25
+ require_paths:
26
+ - lib
27
+ required_ruby_version: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: '0'
32
+ required_rubygems_version: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: '0'
37
+ requirements: []
38
+ rubyforge_project:
39
+ rubygems_version: 2.6.14
40
+ signing_key:
41
+ specification_version: 4
42
+ summary: Reccomenends medicine based on condition
43
+ test_files: []