class InterMine::PathQuery::Join

Attributes

valid_styles[RW]
style[RW]

Public Class Methods

new(path, style) click to toggle source
     # File lib/intermine/query.rb
1410 def initialize(path, style)
1411     unless Join.valid_styles.include?(style)
1412         raise ArgumentError, "Invalid style: #{style}"
1413     end
1414     self.path = path
1415     self.style = style
1416 end

Public Instance Methods

attrs() click to toggle source
     # File lib/intermine/query.rb
1418 def attrs
1419     attributes = {
1420         "path" => @path, 
1421         "style" => @style
1422     }
1423     return attributes
1424 end