class RQRCode::Export::HTML::Rows

Public Instance Methods

as_html() click to toggle source
# File lib/rqrcode/export/html.rb, line 17
def as_html
  rows.map(&:as_html).join
end
rows() click to toggle source
# File lib/rqrcode/export/html.rb, line 21
def rows
  qr.modules.each_with_index.map { |qr_module, row_index| Row.new(qr, qr_module, row_index) }
end