jekyll-rdf 2.1.3.pre.develop.265 → 2.1.3.pre.develop.269
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll/drops/rdf_term.rb +11 -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: ee8c9b3213e65bb9d013dd5b03091901b8b5eb01
|
4
|
+
data.tar.gz: 76884d519e455a19ddeba18dabdb7926cb2349b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b55d87ef4f7834ba5bb42b3a0a81fb0e603879ecd8bcec4e7be176f0c020c6bd29da08616ece816855274c792c51e389532df44d03fbc508707ce8e28ee92dcf
|
7
|
+
data.tar.gz: dfde47b5cd779dbf506b8c373f42a6e61f38db26ac306e20807527348754b475b8974700050c458f7ce02782affbb291fb8a1bfcab89002229f83dd231ccb407
|
@@ -76,6 +76,17 @@ module Jekyll
|
|
76
76
|
term.to_s
|
77
77
|
end
|
78
78
|
|
79
|
+
def ==(other_obj)
|
80
|
+
return self.eql? other_obj
|
81
|
+
end
|
82
|
+
|
83
|
+
def eql? other_obj
|
84
|
+
return (self.to_s.eql? other_obj.to_s)&&((other_obj.class <= self.class)||(self.class <= other_obj.class)||(other_obj.class <= self.term.class))
|
85
|
+
end
|
86
|
+
|
87
|
+
def ===(other_obj)
|
88
|
+
return self.to_s.eql? other_obj.to_s
|
89
|
+
end
|
79
90
|
##
|
80
91
|
# Convert an RDF term into a new Jekyll::Drops::RdfTerm
|
81
92
|
#
|