Class: Pendaxes::Reporter::Haml
- Inherits:
-
Pendaxes::Reporter
- Object
- Pendaxes::Reporter
- Pendaxes::Reporter::Haml
- Defined in:
- lib/pendaxes/reporters/haml.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Pendaxes::Reporter
Methods included from Defaults
Methods included from Finder
Methods included from PendingManager
#add, #all_pendings, #pendings, #reset
Constructor Details
This class inherits a constructor from Pendaxes::Reporter
Class Method Details
.html? ⇒ Boolean
21 |
# File 'lib/pendaxes/reporters/haml.rb', line 21 def self.html?; true; end |
Instance Method Details
#report ⇒ Object
16 17 18 19 |
# File 'lib/pendaxes/reporters/haml.rb', line 16 def report haml = ::Haml::Engine.new(File.read(@config.template)) haml.render(binding, config: @config) end |