class BeerRecipe::HtmlFormatter
Public Instance Methods
output()
click to toggle source
# File lib/beer_recipe/html_formatter.rb, line 2 def output puts parse.read end
template_file()
click to toggle source
# File lib/beer_recipe/html_formatter.rb, line 6 def template_file @options.fetch(:template, template_path('html.erb')) end