class Reponaut::Application::LongPresenter
Attributes
count[R]
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/reponaut/presenter.rb, line 23 def initialize super @count = 0 end
Public Instance Methods
format(repo)
click to toggle source
Calls superclass method
Reponaut::Application::Presenter#format
# File lib/reponaut/presenter.rb, line 28 def format(repo) line = super line = "\n#{line}" unless @count == 0 line = "#{line}\n #{repo.description}" @count += 1 line end