Permalink
Browse files

Add missing documentation in Twitter::Tweet

  • Loading branch information...
1 parent 029d815 commit 182a1a88e7c244f00553ac8f40c6ccae44dad51f @stve stve committed with Oct 4, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/twitter/tweet.rb
View
@@ -90,6 +90,7 @@ def reply?
!!in_reply_to_status_id
end
+ # @return [Boolean]
def retweet?
!!retweeted_status
end
@@ -126,6 +127,7 @@ def user_mentions
@user_mentions ||= entities(Twitter::Entity::UserMention, :user_mentions)
end
+ # @return [Boolean]
def entities?
!@attrs[:entities].nil?
end

0 comments on commit 182a1a8

Please sign in to comment.