view config/initializers/ext_twitter_tweet.rb @ 231:01f3a7e073c3

Remove unsupported namespace syntax Leftover from redis-rails.
author nanaya <me@nanaya.net>
date Mon, 16 Jan 2023 16:23:29 +0900
parents d35dbc09bd83
children
line wrap: on
line source

class Twitter::Tweet
  def full_text_extended
    attrs[:full_text].printable
  end
  memoize :full_text_extended

  def unescaped_text
    CGI.unescapeHTML full_text_extended
  end
  memoize :unescaped_text
end