Method: ActiveTriples::Reflection::ClassMethods#reflect_on_property
- Defined in:
- lib/active_triples/reflection.rb
#reflect_on_property(property) ⇒ ActiveTriples::NodeConfig
Returns the configuration for the property.
38 39 40 41 42 |
# File 'lib/active_triples/reflection.rb', line 38 def reflect_on_property(property) _active_triples_config.fetch(property.to_s) do raise ActiveTriples::UndefinedPropertyError.new(property.to_s, self) end end |