module InterMine::PathQuery::ObjectConstraint

Public Instance Methods

validate() click to toggle source
     # File lib/intermine/query.rb
1108 def validate
1109     if @path.elements.last.is_a?(InterMine::Metadata::AttributeDescriptor)
1110         raise ArgumentError, "#{self.class.name}s must be on objects or references to objects, got #{@path}"
1111     end
1112 end