Skip to content

Commit

Permalink
Finish 3.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Apr 10, 2019
2 parents caf2895 + a063081 commit dec41cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.10
3.0.11
2 changes: 1 addition & 1 deletion lib/rdf/vocabulary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def property(*args)
@ontology ||= prop if name.to_s.empty?

# Define an accessor, except for problematic properties
(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)
else
# Define the term without a name
# Term attributes passed in a block for lazy evaluation. This helps to avoid load-time circular dependencies
Expand Down

0 comments on commit dec41cc

Please sign in to comment.