lib/simplefeed/feed.rb
def activity(one_or_more_users)
      one_or_more_users.is_a?(Array) ?
        users_activity(one_or_more_users) :
        user_activity(one_or_more_users)
    end
# Depending on the argument returns either +SingleUserActivity+ or +MultiUserActivity+
Depending on the argument returns either +SingleUserActivity+ or +MultiUserActivity+
Depending on the argument returns either + SingleUserActivity + or + MultiUserActivity +
def activity(one_or_more_users)
      one_or_more_users.is_a?(Array) ?
        users_activity(one_or_more_users) :
        user_activity(one_or_more_users)
    end
def activity ( one_or_more_users ) one_or_more_users . is_a? ( Array ) ? users_activity ( one_or_more_users ) : user_activity ( one_or_more_users ) end
Depending on the argument returns either +SingleUserActivity+ or +MultiUserActivity+
Depending on the argument returns either + SingleUserActivity + or + MultiUserActivity +
one_or_more_users