Class: WebCrawler::View::Yaml

Inherits:
Base
  • Object
show all
Defined in:
lib/web_crawler/view/yaml.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



5
6
7
# File 'lib/web_crawler/view/yaml.rb', line 5

def render
  YAML.dump(input)
end