External/Tools/AS2API/api_loader.rb
# TODO: this structure sucks; responsibility for type resolution should be
#       entirely seperate from aggregation, not shoe-horned into this class
this structure sucks; responsibility for type resolution should be
entirely seperate from aggregation, not shoe-horned into this class
this structure sucks ; responsibility for type resolution should be entirely seperate from aggregation not shoe - horned into this class
def collect_package_types(package_name)
    @types.each do |type|
      if type.package_name == package_name
	yield type
      end
    end
  end
def collect_package_types ( package_name ) @types . each do | type | if type . package_name == package_name yield type end end end
TODO: this structure sucks; responsibility for type resolution should be
entirely seperate from aggregation, not shoe-horned into this class
TODO : this structure sucks ; responsibility for type resolution should be entirely seperate from aggregation not shoe - horned into this class
# TODO: dump this and use ASPackage instead, now it's available
package_name
<not_specific>