Class: PollEverywhere::Models::MultipleChoicePoll::Option
- Inherits:
-
Object
- Object
- PollEverywhere::Models::MultipleChoicePoll::Option
- Includes:
- Serializable
- Defined in:
- lib/polleverywhere/models.rb
Instance Attribute Summary collapse
-
#poll ⇒ Object
readonly
Returns the value of attribute poll.
Instance Method Summary collapse
-
#initialize(poll) ⇒ Option
constructor
A new instance of Option.
Methods included from Serializable
Constructor Details
#initialize(poll) ⇒ Option
Returns a new instance of Option.
181 182 183 |
# File 'lib/polleverywhere/models.rb', line 181 def initialize(poll) @poll = poll end |
Instance Attribute Details
#poll ⇒ Object (readonly)
Returns the value of attribute poll.
179 180 181 |
# File 'lib/polleverywhere/models.rb', line 179 def poll @poll end |