Class: Neutral::VotingBuilder::Elements::Span
- Inherits:
-
Object
- Object
- Neutral::VotingBuilder::Elements::Span
- Includes:
- ActionView::Helpers::TagHelper
- Defined in:
- lib/neutral/voting_builder/elements/span.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Difference, Negative, Positive
Instance Method Summary collapse
-
#initialize(total) ⇒ Span
constructor
A new instance of Span.
Constructor Details
#initialize(total) ⇒ Span
Returns a new instance of Span.
7 8 9 |
# File 'lib/neutral/voting_builder/elements/span.rb', line 7 def initialize(total) @total = total end |