Module: LayersOfLondon::Booth::MapTool

Defined in:
lib/layers_of_london/booth/map_tool.rb,
lib/layers_of_london/booth/map_tool/engine.rb,
lib/layers_of_london/booth/map_tool/version.rb,
app/models/layers_of_london/booth/map_tool/square.rb,
app/models/layers_of_london/booth/map_tool/polygon.rb,
app/jobs/layers_of_london/booth/map_tool/application_job.rb,
app/helpers/layers_of_london/booth/map_tool/squares_helper.rb,
app/helpers/layers_of_london/booth/map_tool/maptools_helper.rb,
app/helpers/layers_of_london/booth/map_tool/polygons_helper.rb,
app/policies/layers_of_london/booth/map_tool/polygon_policy.rb,
app/models/layers_of_london/booth/map_tool/application_record.rb,
app/helpers/layers_of_london/booth/map_tool/application_helper.rb,
app/mailers/layers_of_london/booth/map_tool/application_mailer.rb,
app/controllers/layers_of_london/booth/map_tool/squares_controller.rb,
app/controllers/layers_of_london/booth/map_tool/maptools_controller.rb,
app/controllers/layers_of_london/booth/map_tool/polygons_controller.rb,
app/controllers/layers_of_london/booth/map_tool/application_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, MaptoolsHelper, PolygonsHelper, SquaresHelper Classes: ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, Configuration, Engine, MaptoolsController, Polygon, PolygonPolicy, PolygonsController, Square, SquaresController

Constant Summary collapse

VERSION =
'0.2'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



9
10
11
# File 'lib/layers_of_london/booth/map_tool.rb', line 9

def configuration
  @configuration
end

Class Method Details

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

Yields:



12
13
14
15
# File 'lib/layers_of_london/booth/map_tool.rb', line 12

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end