uniquefy 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/uniquefy.rb +5 -3
- data/lib/uniquefy/version.rb +1 -1
- metadata +1 -1
data/lib/uniquefy.rb
CHANGED
@@ -5,6 +5,10 @@ module Uniquefy
|
|
5
5
|
base.extend ClassMethods
|
6
6
|
end
|
7
7
|
|
8
|
+
def self.hello_world()
|
9
|
+
return "returning helloworld !!! from uniquefy"
|
10
|
+
end
|
11
|
+
|
8
12
|
def ensure_unique(name)
|
9
13
|
begin
|
10
14
|
self[name] = yield
|
@@ -31,9 +35,7 @@ module Uniquefy
|
|
31
35
|
|
32
36
|
end
|
33
37
|
|
34
|
-
|
35
|
-
return "returning helloworld !!! from uniquefy"
|
36
|
-
end
|
38
|
+
|
37
39
|
end
|
38
40
|
|
39
41
|
|
data/lib/uniquefy/version.rb
CHANGED