Method: JsDuck::Relations#to_a

Defined in:
lib/jsduck/relations.rb

#to_aObject

Returns list of all classes. This method allows us to treat Relations as array and therefore easily mock it



54
55
56
# File 'lib/jsduck/relations.rb', line 54

def to_a
  @classes
end