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 029d815 commit 182a1a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/twitter/tweet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def reply?
!!in_reply_to_status_id
end

# @return [Boolean]
def retweet?
!!retweeted_status
end
Expand Down Expand Up @@ -126,6 +127,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 182a1a8

Please sign in to comment.