Module: Concensus

Defined in:
lib/concensus.rb,
lib/concensus/place.rb,
lib/concensus/state.rb,
lib/concensus/county.rb,
lib/concensus/school.rb,
lib/concensus/zipcode.rb,
lib/concensus/version.rb,
lib/concensus/resource.rb,
lib/concensus/congressional.rb,
lib/concensus/configuration.rb,
lib/concensus/state_legislative.rb

Defined Under Namespace

Classes: ConcensusError, Configuration, Congressional, County, NoResourceForYear, Place, Resource, School, ShapeNotFound, State, StateLegislative, YearNotSupported, Zipcode

Constant Summary collapse

VERSION =
"0.0.6"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration


45
46
47
# File 'lib/concensus/configuration.rb', line 45

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:


53
54
55
# File 'lib/concensus/configuration.rb', line 53

def self.configure
  yield(configuration)
end