class Pwl::Presenter::Html
Constants
- DEFAULT_EXPORT_TEMPLATE
Attributes
locker[R]
Public Class Methods
new(locker)
click to toggle source
# File lib/pwl/presenter/html.rb, line 9 def initialize(locker) @locker = locker @template = ERB.new(File.read(DEFAULT_EXPORT_TEMPLATE)) end
Public Instance Methods
to_s()
click to toggle source
# File lib/pwl/presenter/html.rb, line 14 def to_s @template.result(binding) end