class PollOption
Monday,
August
24
2020+ EAT
This object contains information about one answer option in a poll.¶ ↑
Public Instance Methods
text()
click to toggle source
Option
text, 1-100 characters.
# File lib/objects/poll_option.rb, line 14 def text @poll.text end
voter_count()
click to toggle source
Number of users that voted for this option.
# File lib/objects/poll_option.rb, line 19 def voter_count @poll.voter_count end