class Rundown::Parser

Attributes

text[RW]

Public Class Methods

new(text) click to toggle source
# File lib/rundown/parser.rb, line 5
def initialize(text)
  @text = text
end

Public Instance Methods

dates() click to toggle source
# File lib/rundown/parser.rb, line 9
def dates
  @dates ||= Processors::Dates.new(text).process
end
emails() click to toggle source
# File lib/rundown/parser.rb, line 13
def emails
  @email ||= Processors::Email.new(text).process
end
hashtags() click to toggle source
# File lib/rundown/parser.rb, line 29
def hashtags
  @hashtags ||= Processors::Hashtags.new(text).process
end
phones() click to toggle source
# File lib/rundown/parser.rb, line 17
def phones
  @phone ||= Processors::Phone.new(text).process
end
sentiment() click to toggle source
# File lib/rundown/parser.rb, line 21
def sentiment
  @sentiment ||= Processors::Sentiment.new(text).process
end
usernames() click to toggle source
# File lib/rundown/parser.rb, line 25
def usernames
  @usernames ||= Processors::Twitter.new(text).process
end