Module: RailsParseHead

Defined in:
lib/rails_parse_head.rb,
lib/rails_parse_head/base.rb,
lib/rails_parse_head/fetch.rb,
lib/rails_parse_head/parse.rb,
lib/rails_parse_head/version.rb

Defined Under Namespace

Classes: Base, Fetch, Parse

Constant Summary collapse

VERSION =
'0.2.5'

Class Method Summary collapse

Class Method Details

.fetch(url, options = {}) ⇒ Object



14
15
16
# File 'lib/rails_parse_head.rb', line 14

def fetch(url, options = {})
  RailsParseHead::Fetch.new(url, options)
end

.parse(element) ⇒ Object



10
11
12
# File 'lib/rails_parse_head.rb', line 10

def parse(element)
  RailsParseHead::Parse.new(element)
end