hola_jimc 0.0.1 → 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 (2) hide show
  1. data/lib/hola/translator.rb +14 -0
  2. metadata +4 -2
@@ -0,0 +1,14 @@
1
+ class Hola::Translator
2
+ def initialize(language)
3
+ @language = language
4
+ end
5
+
6
+ def hi
7
+ case @language
8
+ when "spanish"
9
+ "hola mundo"
10
+ else
11
+ "hello world!!"
12
+ end
13
+ end
14
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jim Challenger
@@ -28,6 +28,8 @@ extra_rdoc_files: []
28
28
 
29
29
  files:
30
30
  - lib/hola.rb
31
+ - bin/hola
32
+ - lib/hola/translator.rb
31
33
  has_rdoc: true
32
34
  homepage: http://rubygems.org/gems/hola_jimc
33
35
  licenses: []