HelloGemTestGeekHub 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hello_gem.rb +16 -14
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f89ddc5cc87ab4191fb3b172ed9eb409760ab50b34bf489e761462d66e17b5c4
|
4
|
+
data.tar.gz: 7cf5c06d841b5990d8e6973dd2f493990f5f795b2ee3e07694f3e339fd69a9f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc914c00d677c4c102abd012ed9f286278a1caa0b278ae1f2223a619829a013b24a0c498c66626cb0b270fae339914106a7212467f88fb4080e5527d14681ae1
|
7
|
+
data.tar.gz: c4279d7a5fa8d9a807b80062e34a985c9040d5846a50aaafeabd48e27240e744415ab7a131a07a1bae28c24ec12102ffda0c3ca8e7ec141484fb7874d4ff8a76
|
data/lib/hello_gem.rb
CHANGED
@@ -1,20 +1,22 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
module Hello
|
2
|
+
class Gem
|
3
|
+
def initialize(name)
|
4
|
+
@name = name
|
5
|
+
end
|
5
6
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
7
|
+
def hi
|
8
|
+
hello
|
9
|
+
test
|
10
|
+
end
|
10
11
|
|
11
|
-
|
12
|
+
private
|
12
13
|
|
13
|
-
|
14
|
-
|
15
|
-
|
14
|
+
def hello
|
15
|
+
puts "Hello world!"
|
16
|
+
end
|
16
17
|
|
17
|
-
|
18
|
-
|
18
|
+
def test
|
19
|
+
p @name
|
20
|
+
end
|
19
21
|
end
|
20
22
|
end
|