Class: Gemsurance::Formatters::Yml

Inherits:
Base
  • Object
show all
Defined in:
lib/gemsurance/formatters/yml.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/yml.rb', line 4

def format
  @extension = "yml"
  ERB.new(File.read(output_path), nil, '-').result(binding)
end