hola_zlau 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hola_zlau.rb +9 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e56615ca3ae0febe8a38a0dbe76042dee8d729e
4
- data.tar.gz: d4728b129f729f757147447386340fbd0c025551
3
+ metadata.gz: 37306766dfd20caa26c7d9c44b61999bc2dde2b9
4
+ data.tar.gz: 2084ae78bedf3c2fb2d4e742c80a6fb10d74922a
5
5
  SHA512:
6
- metadata.gz: 629292bf25fcd6ae405724c436718dbf6edd18c3c9d7439e5d0d20ba48c7b9fa5e5a9318e16361e590dbeb3eca1a288a1ad9b1447b91b4ffe86f0322208fbd5b
7
- data.tar.gz: 40244d3a17d879321aea8c6b273a3ff3d563f7ed0d014ac47755cc2733106bbd55263aea084e7536d98bf5bda927a3a2eab406715e0d9fae68058f5e599949bb
6
+ metadata.gz: 1cc032140e2eb56989175b72a50f93cb3490619c3ae090812b49a68da764519237b3cd399991bf46bba8f2f4bc41b73bb8d647d013171be6366b7398ab2fca1e
7
+ data.tar.gz: b54f26e08788132769982fcd664b2ceb729297acc2cbd2d17474f6da64dddc8e3540cce48507df9ca80fd4ca33f9d76c0eeb8cbed09df6d7db4eb27ea7710068
@@ -1,6 +1,14 @@
1
1
  require 'hola_zlau/translator'
2
- # A Simple Hello World Gem
2
+ # The main HolaZlau driver
3
3
  class HolaZlau
4
+ # Say hi to the world!
5
+ #
6
+ # Example:
7
+ # >> HolaZlau.hi('spanish')
8
+ # => hola mundo
9
+ # Arguments:
10
+ # language: (String)
11
+
4
12
  def self.hi(language = 'english')
5
13
  translator = Translator.new(language)
6
14
  translator.hi
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hola_zlau
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zhenyuan Lau