Class: ActiveTriples::Property

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/active_triples/property.rb

Overview

A value object to encapsulate what a Property is. Instantiate with a hash of options.

Instance Method Summary collapse

Instance Method Details

#to_hHash

Returns the property’s configuration values. Will not return #name, which is meant to only be accessible via the accessor.



9
10
11
# File 'lib/active_triples/property.rb', line 9

def to_h
  super.except(:name)
end