Class: Equalshares::Pabulib::Accumulator

Inherits:
Struct
  • Object
show all
Defined in:
lib/equalshares/pabulib/parser.rb

Overview

Mutable bag of results filled in as the sections are read.

Instance Attribute Summary collapse

Instance Attribute Details

#approversObject

Returns the value of attribute approvers

Returns:

  • (Object)

    the current value of approvers



6
7
8
# File 'lib/equalshares/pabulib/parser.rb', line 6

def approvers
  @approvers
end

#metaObject

Returns the value of attribute meta

Returns:

  • (Object)

    the current value of meta



6
7
8
# File 'lib/equalshares/pabulib/parser.rb', line 6

def meta
  @meta
end

#project_ids_setObject

Returns the value of attribute project_ids_set

Returns:

  • (Object)

    the current value of project_ids_set



6
7
8
# File 'lib/equalshares/pabulib/parser.rb', line 6

def project_ids_set
  @project_ids_set
end

#projectsObject

Returns the value of attribute projects

Returns:

  • (Object)

    the current value of projects



6
7
8
# File 'lib/equalshares/pabulib/parser.rb', line 6

def projects
  @projects
end

#scoresObject

Returns the value of attribute scores

Returns:

  • (Object)

    the current value of scores



6
7
8
# File 'lib/equalshares/pabulib/parser.rb', line 6

def scores
  @scores
end

#voter_ids_setObject

Returns the value of attribute voter_ids_set

Returns:

  • (Object)

    the current value of voter_ids_set



6
7
8
# File 'lib/equalshares/pabulib/parser.rb', line 6

def voter_ids_set
  @voter_ids_set
end

#votesObject

Returns the value of attribute votes

Returns:

  • (Object)

    the current value of votes



6
7
8
# File 'lib/equalshares/pabulib/parser.rb', line 6

def votes
  @votes
end