Class: Wuclan::Models::AtsignToken

Inherits:
TweetToken show all
Defined in:
lib/wuclan/twitter/model/tweet/tweet_token.rb

Constant Summary

Constants included from TweetRegexes

TweetRegexes::RE_ATSIGNS, TweetRegexes::RE_DOMAIN_HEAD, TweetRegexes::RE_DOMAIN_TLD, TweetRegexes::RE_HASHTAGS, TweetRegexes::RE_PLEASE, TweetRegexes::RE_RETWEET, TweetRegexes::RE_RETWEET_ONLY, TweetRegexes::RE_RETWEET_OR_VIA, TweetRegexes::RE_RETWEET_WORDS, TweetRegexes::RE_RTWHORE, TweetRegexes::RE_SMILIES, TweetRegexes::RE_SMILIES_EYES, TweetRegexes::RE_SMILIES_MOUTH, TweetRegexes::RE_SMILIES_NOSE, TweetRegexes::RE_URL, TweetRegexes::RE_URL_HOSTPART, TweetRegexes::RE_URL_OKCHARS, TweetRegexes::RE_URL_QUERYCHARS, TweetRegexes::RE_URL_SCHEME_STRICT, TweetRegexes::RE_URL_UNRESERVED

Class Method Summary collapse

Methods inherited from TweetToken

#initialize, #num_key_fields, #numeric_id_fields

Constructor Details

This class inherits a constructor from Wuclan::Models::TweetToken

Class Method Details

.extract_tokens!(str) ⇒ Object



45
46
47
# File 'lib/wuclan/twitter/model/tweet/tweet_token.rb', line 45

def self.extract_tokens! str
  super.map{|str| str = '@'+str }
end