Class: WebCrawler::View::Plain

Inherits:
Base
  • Object
show all
Defined in:
lib/web_crawler/view/plain.rb

Instance Attribute Summary

Attributes inherited from Base

#input

Instance Method Summary collapse

Methods inherited from Base

#draw, #format, #initialize

Constructor Details

This class inherits a constructor from WebCrawler::View::Base

Instance Method Details

#renderObject



4
5
6
# File 'lib/web_crawler/view/plain.rb', line 4

def render
  [*input].join "\n"
end