typ 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/typ.rb +2 -2
- 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: 14188b8d650c32fecbae6ed1ae3c8f03eac9f31effad6a0695c8ec1e77f8bdbe
|
4
|
+
data.tar.gz: 89524fac30d45f13f8a21f904c22e9890fb3a8d2f59bb61ad53ef5ca6abfb7d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a08274c0bed76f596da8d0b30b45bfea0679c2ba8ba29b05e478f6ce2fc3366d3110e612a8f0c2b72ac9a0262aeb7391da8a30c4915c62464eeb25b8373b4bd1
|
7
|
+
data.tar.gz: defa65890558d113926b445b3e5a6161d80f645bd98d0ba5e3d2ff2f602ca62d64ac885378d140dc1d12d3deaec55897a497b28c567226afd506684ef0d2b585
|
data/lib/typ.rb
CHANGED
@@ -96,7 +96,7 @@ module Typ
|
|
96
96
|
|
97
97
|
gate = Class.new
|
98
98
|
gate.include self
|
99
|
-
gate.check = check
|
99
|
+
gate.type, gate.check = type, check
|
100
100
|
gate
|
101
101
|
end
|
102
102
|
end
|
@@ -106,7 +106,7 @@ module Typ
|
|
106
106
|
end
|
107
107
|
|
108
108
|
module Singleton
|
109
|
-
attr_accessor :check
|
109
|
+
attr_accessor :type, :check
|
110
110
|
end
|
111
111
|
|
112
112
|
def ok?
|