hola_kshramt 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hola_kshramt.rb +9 -0
- metadata +4 -4
data/lib/hola_kshramt.rb
CHANGED
@@ -1,6 +1,15 @@
|
|
1
|
+
# The main HolaKshramt driver
|
2
|
+
# @author kshramt
|
1
3
|
class HolaKshramt
|
2
4
|
require 'hola_kshramt/translator'
|
3
5
|
|
6
|
+
# Say hi to the world!
|
7
|
+
#
|
8
|
+
# @example IRB usage
|
9
|
+
# >> Hola.hi(:spanish)
|
10
|
+
# => hola mundo
|
11
|
+
# @param [Symbol] language Any languages you wish.
|
12
|
+
# @return [String] Hello for you.
|
4
13
|
def self.hi(language = :english)
|
5
14
|
translator = Translator.new(language)
|
6
15
|
translator.hi
|
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.
|
4
|
+
version: 0.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-06-
|
12
|
+
date: 2012-06-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
16
|
-
requirement: &
|
16
|
+
requirement: &79651310 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 0.0.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *79651310
|
25
25
|
description: A simple hello world gem
|
26
26
|
email:
|
27
27
|
executables:
|