pg_meta 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pg_meta/meta.rb +3 -2
- data/lib/pg_meta/version.rb +1 -1
- 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: 41bfef6f94d3f36e05970e1e7894f7cbf31a5658d424186caa10deb6b14adc5d
|
4
|
+
data.tar.gz: 2c2b1e00874ee2d7c33ca83fd22a10a6367b21656ef0d4653a6289b3e2874814
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7815f55fea97137928df544fb2456ab4c7aa10e4eee0727491ed18904c63ed9c48c4a024e56db48e5c669b9e6c3fecb83bcfacb13ff6a0dfe8bd8eb57a4a0b3
|
7
|
+
data.tar.gz: 022334e098b1f5cd42ea2a503421a46c5ced08637ff4d50414e9e77e8b482fac9fe976b5e507224828b4ae0fc9e2dba46e1559b8b5d7332a7197e8db9cbd10e3
|
data/lib/pg_meta/meta.rb
CHANGED
@@ -35,8 +35,9 @@ module PgMeta
|
|
35
35
|
parent && parent.root.send(:add_node, self) # Add object to global database lookup
|
36
36
|
end
|
37
37
|
|
38
|
-
def
|
39
|
-
def
|
38
|
+
def to_s = name.to_s
|
39
|
+
def to_h = raise StandardError, "Undefined method"
|
40
|
+
def to_yaml = to_h.to_yaml
|
40
41
|
|
41
42
|
def inspect() "#<#{self.class}:#{guid}>" end
|
42
43
|
|
data/lib/pg_meta/version.rb
CHANGED