lib/yaks/resource/link.rb in yaks-0.7.4 vs lib/yaks/resource/link.rb in yaks-0.7.5
- old
+ new
@@ -8,8 +8,12 @@
end
def templated?
options.fetch(:templated) { false }
end
+
+ def rel?(rel)
+ rel().eql? rel
+ end
end
end
end