Method: AmsLayout::Parser#parse
- Defined in:
- lib/ams_layout/parser.rb
#parse(html) ⇒ Object
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/ams_layout/parser.rb', line 20 def parse html # Table: ctl00_ContentPlaceHolder1_tblMain Nokogiri::HTML(html).css("table#ctl00_ContentPlaceHolder1_tblMain").each do |tbl| tbl.css('tr').each do |row| parse_row row end end layout end |