Sha256: 187bb7168ac041000c45b9d58ddcad3d64f8a1b13fdf4e56911ac91fa0062155

Contents?: true

Size: 294 Bytes

Versions: 31

Compression:

Stored size: 294 Bytes

Contents

module PublishMyData
  class Concept
    include Tripod::Resource
    include BasicFeatures

    field :in_scheme, RDF::SKOS.inScheme, :is_uri => true

    rdf_type RDF::SKOS.Concept

    def concept_scheme
      ConceptScheme.find(self.in_scheme) rescue nil if self.in_scheme
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
publish_my_data-1.3.25 app/models/publish_my_data/concept.rb
publish_my_data-1.3.24 app/models/publish_my_data/concept.rb
publish_my_data-1.3.23 app/models/publish_my_data/concept.rb
publish_my_data-1.3.22 app/models/publish_my_data/concept.rb
publish_my_data-1.3.21 app/models/publish_my_data/concept.rb
publish_my_data-1.3.20 app/models/publish_my_data/concept.rb
publish_my_data-1.3.19 app/models/publish_my_data/concept.rb
publish_my_data-1.3.18 app/models/publish_my_data/concept.rb
publish_my_data-1.3.17 app/models/publish_my_data/concept.rb
publish_my_data-1.3.16 app/models/publish_my_data/concept.rb
publish_my_data-1.3.15 app/models/publish_my_data/concept.rb
publish_my_data-1.3.14 app/models/publish_my_data/concept.rb
publish_my_data-1.3.13 app/models/publish_my_data/concept.rb
publish_my_data-1.3.12 app/models/publish_my_data/concept.rb
publish_my_data-1.3.11 app/models/publish_my_data/concept.rb
publish_my_data-1.3.10 app/models/publish_my_data/concept.rb
publish_my_data-1.3.9 app/models/publish_my_data/concept.rb
publish_my_data-1.3.8 app/models/publish_my_data/concept.rb
publish_my_data-1.3.7 app/models/publish_my_data/concept.rb
publish_my_data-1.3.6 app/models/publish_my_data/concept.rb