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) params = args.extract_options! normalize! params response = get_request("/gitignore/templates", params) return response unless block_given? response.each { |el| yield el } end