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



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

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

.normalize_author(author_name) ⇒ Object



19
20
21
# File 'lib/raev.rb', line 19

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

.url(url) ⇒ Object



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

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