Class: Neutral::VotingBuilder::Elements::Span

Inherits:
Object
  • Object
show all
Includes:
ActionView::Helpers::TagHelper
Defined in:
lib/neutral/voting_builder/elements/span.rb

Direct Known Subclasses

Difference, Negative, Positive

Defined Under Namespace

Classes: Difference, Negative, Positive

Instance Method Summary collapse

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