RubyGems
npm
Organizations
Log in
Sign up
RubyGems
xiaoXbao
Versions diffs
9.5.4 → 9.5.5
xiaoXbao 9.5.4 → 9.5.5
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/hola.rb
+5
-2
metadata
+1
-1
data/lib/hola.rb
CHANGED
Viewed
@@ -1,5 +1,8 @@
1
1
class Hola
2
-
def self.hi
3
-
puts
"hello
world!"
2
+
def self.hi
(language)
3
+
translator
=
Translator.new(language)
4
+
translator.hi
4
5
end
5
6
end
7
+
8
+
require 'hola/translator'
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: xiaoXbao
3
3
version: !ruby/object:Gem::Version
4
-
version: 9.5.
4
4
+
version: 9.5.
5
5
5
prerelease:
6
6
platform: ruby
7
7
authors: