Files
news.gitea.happylizard.me/bin/gems/octokit-6.1.1/lib/octokit/client/say.rb
T
pizza2d1 4cee170d66
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 9s
Add bin and edit workflow
2026-09-16 13:11:16 -06:00

19 lines
389 B
Ruby

# frozen_string_literal: true
module Octokit
class Client
# Methods for the unpublished Octocat API
module Say
# Return a nifty ASCII Octocat with GitHub wisdom
# or your own
#
# @return [String]
def say(text = nil, options = {})
options[:s] = text if text
get 'octocat', options
end
alias octocat say
end
end
end