class Bookery::Publishers::HTMLPublisher::TemplateObject
Attributes
body[R]
editors[R]
language[R]
title[R]
Public Class Methods
new(book)
click to toggle source
# File lib/bookery/publishers/html_publisher.rb, line 54 def initialize(book) @title = book.title @authors = book.authors.join(', ') @editors = book.editors.join(', ') @language = book.language @body = '<%= @body %>' end
Public Instance Methods
get_binding()
click to toggle source
# File lib/bookery/publishers/html_publisher.rb, line 62 def get_binding binding end