Class: Twitter::Entity
- Defined in:
- lib/twitter/entity.rb,
lib/twitter/entity/uri.rb,
lib/twitter/entity/symbol.rb,
lib/twitter/entity/hashtag.rb,
lib/twitter/entity/user_mention.rb
Overview
Represents a Twitter entity with position information
Direct Known Subclasses
Defined Under Namespace
Classes: Hashtag, Symbol, URI, UserMention
Instance Attribute Summary collapse
-
#indices ⇒ Array<Integer>
readonly
The indices of this entity in the text.
Attributes inherited from Base
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
Constructor Details
This class inherits a constructor from Twitter::Base
Instance Attribute Details
#indices ⇒ Array<Integer> (readonly)
The indices of this entity in the text
12 13 14 |
# File 'lib/twitter/entity.rb', line 12 def indices @indices end |