Method: InterMine::PathQuery::SubClassConstraint#to_elem
- Defined in:
- lib/intermine/query.rb
#to_elem ⇒ Object
987 988 989 990 991 992 993 994 995 |
# File 'lib/intermine/query.rb', line 987 def to_elem attributes = { "path" => @path, "type" => @sub_class } elem = REXML::Element.new("constraint") elem.add_attributes(attributes) return elem end |