class Onebox::View
Attributes
record[R]
Public Class Methods
new(name, record)
click to toggle source
# File lib/onebox/view.rb, line 11 def initialize(name, record) @record = record self.template_name = name self.template_path = load_paths.last end
Public Instance Methods
to_html()
click to toggle source
# File lib/onebox/view.rb, line 17 def to_html render(record) end