Class: ActiveTriples::Schema
- Inherits:
-
Object
- Object
- ActiveTriples::Schema
- Defined in:
- lib/active_triples/schema.rb
Overview
Super class which provides a simple property DSL for defining property -> predicate mappings.
Class Method Summary collapse
- .properties ⇒ Array<ActiveTriples::Property>
-
.property(property, options) ⇒ Object
Define a property.
Class Method Details
.properties ⇒ Array<ActiveTriples::Property>
35 36 37 |
# File 'lib/active_triples/schema.rb', line 35 def properties @properties ||= [] end |