Class: Gemsurance::Formatters::Html

Inherits:
Base
  • Object
show all
Defined in:
lib/gemsurance/formatters/html.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #output_path, #sorted_gems

Constructor Details

This class inherits a constructor from Gemsurance::Formatters::Base

Instance Method Details

#formatObject



4
5
6
7
# File 'lib/gemsurance/formatters/html.rb', line 4

def format
  @extension = "html"
  ERB.new(File.read(output_path)).result(binding)
end