module RQRCode::Export::HTML
Public Instance Methods
as_html()
click to toggle source
Use this module to HTML-ify the QR code if you just want the default HTML
# File lib/rqrcode/export/html.rb, line 8 def as_html ["<table>", rows.as_html, "</table>"].join end
Private Instance Methods
rows()
click to toggle source
# File lib/rqrcode/export/html.rb, line 14 def rows Rows.new(@qrcode) end