Class: RQRCode::Export::HTML::Rows
- Inherits:
-
Struct
- Object
- Struct
- RQRCode::Export::HTML::Rows
- Defined in:
- lib/rqrcode/export/html.rb
Instance Method Summary collapse
Instance Method Details
#as_html ⇒ Object
19 20 21 |
# File 'lib/rqrcode/export/html.rb', line 19 def as_html rows.map(&:as_html).join end |
#rows ⇒ Object
23 24 25 |
# File 'lib/rqrcode/export/html.rb', line 23 def rows qr.modules.each_with_index.map { |qr_module, row_index| Row.new(qr, qr_module, row_index) } end |