Class: Twitter::Entity::Symbol

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

Overview

Represents a Twitter cashtag symbol entity

Instance Attribute Summary collapse

Instance Attribute Details

#textString (readonly)

The text of the cashtag without the dollar sign

Examples:

symbol.text

Returns:

  • (String)


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

def text
  @text
end