class Perseus::NetworkIndexXML
Public Class Methods
new()
click to toggle source
Models the whole perseus text index
# File lib/perseus/network_index_xml.rb, line 5 def initialize puts "Reading from the network" @urn = "http://www.perseus.tufts.edu/hopper/CTS?request=GetCapabilities" download end
Public Instance Methods
download()
click to toggle source
# File lib/perseus/network_index_xml.rb, line 11 def download File.write(CTS_XML_FILE, to_s) end