Module: ActiveTriples::Properties

Extended by:
ActiveSupport::Concern
Included in:
List, RDFSource
Defined in:
lib/active_triples/properties.rb

Overview

Implements property configuration in the style of RDFSource. It does its work at the class level, and is meant to be extended.

Collaborates closely with ActiveTriples::Reflection

Define properties at the class level with:

property :title, predicate: RDF::DC.title, class_name: ResourceClass

See Also:

  • {ActiveTriples{ActiveTriples::Reflection}
  • {ActiveTriples{ActiveTriples::PropertyBuilder}

Defined Under Namespace

Modules: ClassMethods