def scrape(file_string, line, mod, attribute=nil)
      hash = scrape_file(file_string, line) || {}
      options = (arr = hash.delete(:option)) ? parse_option_comments(arr, mod) : {}
      hash.select {|k,v| v && (attribute.nil? || attribute == k) }.each do |k,v|
        hash[k] = EVAL_ATTRIBUTES.include?(k) ? eval_comment(v.join(' '), mod, k) : v.join(' ')
      end
      (hash[:options] ||= {}).merge!(options) if !options.empty?
      attribute ? hash[attribute] : hash
    end
def scrape(file_string, line, mod, attribute=nil)
      hash = scrape_file(file_string, line) || {}
      options = (arr = hash.delete(:option)) ? parse_option_comments(arr, mod) : {}
      hash.select {|k,v| v && (attribute.nil? || attribute == k) }.each do |k,v|
        hash[k] = EVAL_ATTRIBUTES.include?(k) ? eval_comment(v.join(' '), mod, k) : v.join(' ')
      end
      (hash[:options] ||= {}).merge!(options) if !options.empty?
      attribute ? hash[attribute] : hash
    end
Given a method's file string, line number and defining module, returns a hash
 of attributes defined for that method.