bel_parser 1.0.0.alpha.37-java → 1.0.0.alpha.38-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/bel_parser/language/function.rb +10 -0
- data/lib/bel_parser/language/relationship.rb +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8054ff03d78df3934f61db423d11059802405f5
|
4
|
+
data.tar.gz: 456a92fc5131cf4a59c53bf18771383db86a8fe4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 887008830f084cf37e994e15a79ae991a4a6d268f319d673f9234f6d498a0171c9d1b65ea1d315891f59de7c5775e50ae9ecad208cf96e5b095b4f6c5a5686ee
|
7
|
+
data.tar.gz: f3a7824168869bce31ce8c1f2f834cfe64c8335e231acb059691100075826405b77c8013f361e7f665c528bef59efc79be0ec4419891b0afa2f4387aecc25ba4
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.0.alpha.
|
1
|
+
1.0.0.alpha.38
|
@@ -52,6 +52,16 @@ module BELParser
|
|
52
52
|
value.to_s
|
53
53
|
end
|
54
54
|
|
55
|
+
def to_h(hash = {})
|
56
|
+
hash.merge!({
|
57
|
+
'short' => short,
|
58
|
+
'long' => long,
|
59
|
+
'return_type' => return_type.to_sym.to_s,
|
60
|
+
'signatures' => signatures.map { |sig| sig.string_form },
|
61
|
+
'description' => description
|
62
|
+
})
|
63
|
+
end
|
64
|
+
|
55
65
|
private
|
56
66
|
|
57
67
|
def _form_value(form = :short)
|