class RQRCode::Export::HTML::Cell

Public Instance Methods

as_html() click to toggle source
# File lib/rqrcode/export/html.rb, line 37
def as_html
  "<td class=\"#{html_class}\"></td>"
end
dark?() click to toggle source
# File lib/rqrcode/export/html.rb, line 45
def dark?
  qr.dark?(row_index, col_index)
end
html_class() click to toggle source
# File lib/rqrcode/export/html.rb, line 41
def html_class
  dark? ? 'black' : 'white'
end