saludando_al_mundo 0.0.0 → 0.0.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/saludando_al_mundo.rb +6 -3
  2. metadata +1 -1
@@ -1,5 +1,8 @@
1
1
  class SaludandoAlMundo
2
- def self.hi
3
- puts "Hola Mundo!"
2
+ def self.hi(language = :english)
3
+ translator = Translator.new(language)
4
+ translator.hi
4
5
  end
5
- end
6
+ end
7
+
8
+ require 'hola/translator'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saludando_al_mundo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: