Skip to content

Commit

Permalink
Add missing documentation in Twitter::Tweet
Browse files Browse the repository at this point in the history
  • Loading branch information
stve authored and sferik committed Oct 6, 2012
1 parent 6ef63a5 commit b969740
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/twitter/tweet.rb
Expand Up @@ -84,6 +84,7 @@ def reply?
!!in_reply_to_status_id
end

# @return [Boolean]
def retweet?
!!retweeted_status
end
Expand Down Expand Up @@ -121,6 +122,7 @@ def user_mentions
@user_mentions ||= entities(Twitter::Entity::UserMention, :user_mentions)
end

# @return [Boolean]
def entities?
!@attrs[:entities].nil?
end
Expand Down

0 comments on commit b969740

Please sign in to comment.