Class: DoctorScrape::Data

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/doctor_scrape/data.rb

Instance Method Summary collapse

Instance Method Details

#fieldsObject



4
5
6
# File 'lib/doctor_scrape/data.rb', line 4

def fields
  @table.keys
end

#to_hashObject



8
9
10
# File 'lib/doctor_scrape/data.rb', line 8

def to_hash
  @table
end