Sha256: dac7e16e3b4f89d8e675dd90e88a7d029c3cee59285e38da2f6bca77af3fdc79

Contents?: true

Size: 258 Bytes

Versions: 1

Compression:

Stored size: 258 Bytes

Contents

require 'nokogiri'
require 'open-uri'

module Fletcher
  # This class is responsible for fetching and parsing data.
  class Data
    # Get read url and get data object
    def self.read(url)
      doc = Nokogiri::HTML(open(url))
    end 
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fletcher-0.1.0 lib/fletcher/data.rb