Method: Spider::Model::Element#model

Defined in:
lib/spiderfw/model/element.rb

#modelObject

The actual model used to represent the association. Will return the #association_type or the #type.



25
26
27
28
# File 'lib/spiderfw/model/element.rb', line 25

def model
    return nil unless model?
    return association_type || type
end