def list(*args)
      arguments(args)

      response = get_request("/gitignore/templates", arguments.params)
      return response unless block_given?
      response.each { |el| yield el }
    end
def list(*args)
      arguments(args)

      response = get_request("/gitignore/templates", arguments.params)
      return response unless block_given?
      response.each { |el| yield el }
    end
List all templates available to pass as an option
 when creating a repository.

 @see https://developer.github.com/v3/gitignore/#listing-available-templates

 @example
  github = Github.new
  github.gitignore.list
  github.gitignore.list { |template| ... }

 @api public