Class: Twitter::Entity::Hashtag

Inherits:
Entity
  • Object
show all
Defined in:
lib/twitter/entity/hashtag.rb

Overview

Represents a Twitter hashtag entity

Instance Attribute Summary collapse

Instance Attribute Details

#textString (readonly)

The text of the hashtag without the hash symbol

Examples:

hashtag.text

Returns:

  • (String)


13
14
15
# File 'lib/twitter/entity/hashtag.rb', line 13

def text
  @text
end