Sha256: 66d3f14acbd150b9074a1abff4762ad9e9147bc2edc8fbbf963cb16eb08215d3
Contents?: true
Size: 480 Bytes
Versions: 2
Compression:
Stored size: 480 Bytes
Contents
require "power_school/version" require "power_school/configuration" require "power_school/connection" require "power_school/teachers" require "power_school/students" require "watir" require 'nokogiri' require 'open-uri' module PowerSchool extend Configuration def self.table_to_a( html, css ) resArray = Nokogiri::HTML(html).css(css).to_a resArray = resArray.map {|row| row.css("td").map {|c| c.text}.to_a } resArray.shift resArray end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
power_school-0.0.4 | lib/power_school.rb |
power_school-0.0.3 | lib/power_school.rb |