hola_kshramt 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/hola_kshramt/translator.rb +15 -0
  2. metadata +2 -1
@@ -0,0 +1,15 @@
1
+ class HolaKshramt::Translator
2
+ def initialize(language)
3
+ @language = language
4
+ end
5
+
6
+
7
+ def hi
8
+ case @language
9
+ when :spanish
10
+ "hola mundo"
11
+ else
12
+ "hello world"
13
+ end
14
+ end
15
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hola_kshramt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -19,6 +19,7 @@ extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
21
  - lib/hola_kshramt.rb
22
+ - lib/hola_kshramt/translator.rb
22
23
  - bin/hola_kshramt
23
24
  homepage:
24
25
  licenses: []