Class: PackList::Report
- Inherits:
-
Object
- Object
- PackList::Report
- Includes:
- GemUtils
- Defined in:
- lib/packlist/report.rb
Instance Method Summary collapse
-
#initialize(packlist) ⇒ Report
constructor
A new instance of Report.
- #save_to(filename) ⇒ Object
Methods included from GemUtils
#assets_path, #gem_path, #stylesheets_path, #templates_path
Constructor Details
Instance Method Details
#save_to(filename) ⇒ Object
14 15 16 |
# File 'lib/packlist/report.rb', line 14 def save_to(filename) @template.render_to filename, {packlist: @packlist} end |