Sha256: e9efe7a68f41883e2914ef50d8fa1c95df82b306adb5782580cb1dd79c7fc388
Contents?: true
Size: 432 Bytes
Versions: 31
Compression:
Stored size: 432 Bytes
Contents
module Krikri::LDP module RdfSource extend ActiveSupport::Concern include Krikri::LDP::Resource def save(headers = {}) result = super(dump(:ttl)) get result end def get(*args) result = super reload result end def reload return super unless !node? && exists? clear self << RDF::Reader.for(:ttl).new(@http_cache.body).statements end end end
Version data entries
31 entries across 31 versions & 1 rubygems