Created
September 20, 2012 14:14
-
-
Save bycoffe/3756196 to your computer and use it in GitHub Desktop.
Convert a Fech filing to JSON
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'fech' | |
require 'json' | |
module Fech | |
class Filing | |
def to_json | |
rows_like(//).to_json | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment