We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa14e87 commit b6a3b28Copy full SHA for b6a3b28
1 file changed
lib/rdf/vocabulary.rb
@@ -205,7 +205,7 @@ def property(*args)
205
@ontology ||= prop if name.to_s.empty?
206
207
# Define an accessor, except for problematic properties
208
- (class << self; self; end).send(:define_method, name) { prop } unless %w(property hash).include?(name.to_s)
+ (class << self; self; end).send(:define_method, name) { prop } unless %w(property term hash).include?(name.to_s)
209
else
210
# Define the term without a name
211
# Term attributes passed in a block for lazy evaluation. This helps to avoid load-time circular dependencies
0 commit comments