Module: Raev

Defined in:
lib/raev.rb,
lib/raev/url.rb,
lib/raev/author.rb,
lib/raev/parser.rb,
lib/raev/article.rb

Defined Under Namespace

Classes: Article, Author, Parser, Url

Class Method Summary collapse

Class Method Details

.article(body) ⇒ Object



12
13
14
# File 'lib/raev.rb', line 12

def self.article body
  Raev::Article.new(body)
end

.normalize_author(author_name) ⇒ Object



16
17
18
# File 'lib/raev.rb', line 16

def self.normalize_author author_name
  Raev::Author.normalize_name(author_name)
end

.url(url) ⇒ Object



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

def self.url url
  Raev::Url.new(url)
end