Module: Octokit::Client::Say
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Defined in: | lib/octokit/client/say.rb |
Overview
Methods for the unpublished Octocat API
Instance Method Summary
-
#octocat(text = nil, options = {})
Alias for #say.
-
#say(text = nil, options = {}) ⇒ String
(also: #octocat)
Return a nifty ASCII Octocat with GitHub wisdom or your own.
Instance Method Details
#octocat(text = nil, options = {})
Alias for #say.
# File 'lib/octokit/client/say.rb', line 15
alias octocat say
#say(text = nil, options = {}) ⇒ String
Also known as: #octocat
Return a nifty ASCII Octocat with GitHub wisdom or your own
# File 'lib/octokit/client/say.rb', line 11
def say(text = nil, = {}) [:s] = text if text get 'octocat', end