code: def retrieve_methods(script)
          code = File.read(script)
          methods = code.scan(/((#.*\s)*def.*\s|def.*\s)/)
          result = []
          methods.each do |method|
            result << method[0]
          end
          result
        end
docs: Retrieve the methods including comments if available