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
17 18 19 |
# File 'lib/rqrcode/export/html.rb', line 17 def as_html rows.map(&:as_html).join end |
#rows ⇒ Object
21 22 23 |
# 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 |