Class: Twitter::Entity::Hashtag

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

Overview

Represents a Twitter hashtag entity

Instance Attribute Summary collapse

Attributes inherited from Twitter::Entity

#indices

Attributes inherited from Base

#attrs

Method Summary

Methods inherited from Base

#[], attr_reader, define_attribute_method, define_predicate_method, define_uri_method, display_uri_attr_reader, #initialize, object_attr_reader, predicate_attr_reader, uri_attr_reader

Methods included from Utils

flat_pmap, pmap

Constructor Details

This class inherits a constructor from Twitter::Base

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