class Github::Gitignore
def list(*args)
github.gitignore.list { |template| ... }
github.gitignore.list
github = Github.new
= Examples
List all templates available to pass as an option when creating a repository.
def list(*args) arguments(args) response = get_request("/gitignore/templates", arguments.params) return response unless block_given? response.each { |el| yield el } end