# File lib/rbrainz/model/relation.rb, line 84 def initialize(type=nil, target=nil, direction=nil) @target = nil @attributes = Array.new self.type = type self.target = target if target self.direction = direction end