hola_davidglivar 0.0.0 → 0.0.1

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.
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'hola_davidglivar'
4
+ puts HolaDavidglivar.hi(ARGV[0])
@@ -1,7 +1,8 @@
1
1
  class HolaDavidglivar
2
-
3
- def self.hi
4
- puts "Hello davidglivar!"
2
+ def self.hi(language = :english)
3
+ translator = Translator.new(language)
4
+ puts translator.hi
5
5
  end
6
-
7
6
  end
7
+
8
+ require 'hola_davidglivar/translator'
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 0
9
- version: 0.0.0
8
+ - 1
9
+ version: 0.0.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - David Glivar
@@ -20,8 +20,8 @@ dependencies: []
20
20
 
21
21
  description: A simple hellow world gem
22
22
  email: davidglivar@gmail.com
23
- executables: []
24
-
23
+ executables:
24
+ - hola_davidglivar
25
25
  extensions: []
26
26
 
27
27
  extra_rdoc_files: []