Module: RQRCode::Export::HTML

Defined in:
lib/rqrcode/export/html.rb

Defined Under Namespace

Classes: Cell, Row, Rows

Instance Method Summary collapse

Instance Method Details

#as_htmlObject

Use this module to HTML-ify the QR code if you just want the default HTML



8
9
10
# File 'lib/rqrcode/export/html.rb', line 8

def as_html
  ["<table>", rows.as_html, "</table>"].join
end