Class: SeisRuby::Database::GlobalCmtCatalogSearch::CmtsolutionFormat::CustomHtmlParser

Inherits:
Mechanize::Page
  • Object
show all
Defined in:
lib/seis_ruby/database/global_cmt_catalog_search/cmtsolution_format/custom_html_parser.rb

Instance Method Summary collapse

Constructor Details

#initialize(uri = nil, response = nil, body = nil, code = nil, mech = nil) ⇒ CustomHtmlParser

Returns a new instance of CustomHtmlParser.



4
5
6
# File 'lib/seis_ruby/database/global_cmt_catalog_search/cmtsolution_format/custom_html_parser.rb', line 4

def initialize(uri = nil, response = nil, body = nil, code = nil, mech = nil)
  super(uri, response, body.gsub(/<=/, '&lt;='), code, mech)
end