Module: Jsoner
- Defined in:
- lib/jsoner.rb,
lib/jsoner/table.rb,
lib/jsoner/version.rb,
lib/jsoner/table_factory.rb
Defined Under Namespace
Classes: Table, TableFactory
Constant Summary collapse
- VERSION =
"0.0.2"
Class Method Summary collapse
Class Method Details
.parse(html) ⇒ Object
10 11 12 |
# File 'lib/jsoner.rb', line 10 def parse(html) Jsoner::Table.new(Jsoner::TableFactory.new(Nokogiri::HTML.parse(html))).to_json end |