lib/jira-profiler/project.rb
def find_by(attribute, value)
        if @@project_cache.has_key?(value)
          project = @@project_cache[value]
        else
          project_id = lookup_id_for(attribute, value)
          project = get_project(project_id)
        end
        return project
      end
# Look up project by project id
Look up project by project id
Look up project by project id
def find_by(attribute, value)
        if @@project_cache.has_key?(value)
          project = @@project_cache[value]
        else
          project_id = lookup_id_for(attribute, value)
          project = get_project(project_id)
        end
        return project
      end
def find_by ( attribute , value ) if @@project_cache . has_key? ( value ) project = @@project_cache [ value ] else project_id = lookup_id_for ( attribute , value ) project = get_project ( project_id ) end return project end
Look up project by project id
Look up project by project id
attribute
value