Class: Octy::Printer

Inherits:
Object
  • Object
show all
Defined in:
lib/octy/printer.rb

Class Method Summary collapse

Class Method Details

.output(pr) ⇒ Object



5
6
7
# File 'lib/octy/printer.rb', line 5

def self.output(pr)
  print sprintf("* [#%s](%s) %s [コミッター:%s]\n", pr[:number], pr[:_links][:html][:href], pr[:title], pr[:user][:login])
end