hola_supahnickie 0.0.2

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/hola.rb +16 -0
  3. metadata +44 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ea8cb78fcccbd834b7e04364d1615ce8be2fbbe7
4
+ data.tar.gz: db35403b09aeb946a81ce3c543b4316a77252767
5
+ SHA512:
6
+ metadata.gz: 7624b5d51eca3a7aa755989893be28a51c51bb65742584274813eb47df9e1e6cfba44d54b39060bacf7d2f2e31ef3a14645f8546e5dd585e9a59348a99d7299e
7
+ data.tar.gz: 07b76cd2f7e91e259c99f560acffa381348a6505fdd0fcfbac5b8b7809961c81c3b6e5b44281fba21072e7bc00f723b1cfd28f009b7945df4fe3852ef2cff31d
data/lib/hola.rb ADDED
@@ -0,0 +1,16 @@
1
+ class Hola
2
+ def self.hi
3
+ puts 'What language would you like to hear a greeting in?'
4
+ language = gets.chomp.downcase
5
+ case language
6
+ when 'english'
7
+ puts "Hello World"
8
+ when 'spanish'
9
+ puts "Hola mundo"
10
+ when 'cat'
11
+ puts "Nyan nyan!"
12
+ else
13
+ puts "That's not a real language in the normal sense of the word"
14
+ end
15
+ end
16
+ end
metadata ADDED
@@ -0,0 +1,44 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hola_supahnickie
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Nicholas Case
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-11-04 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Practice making gems
14
+ email: nicholascase@live.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/hola.rb
20
+ homepage: http://www.github.com/SupahNickie
21
+ licenses:
22
+ - MIT
23
+ metadata: {}
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ required_rubygems_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ requirements: []
39
+ rubyforge_project:
40
+ rubygems_version: 2.1.5
41
+ signing_key:
42
+ specification_version: 4
43
+ summary: A simple translation program for greetings!
44
+ test_files: []