Module: Gmaps4rails

Defined in:
lib/gmaps4rails.rb,
lib/gmaps4rails/version.rb,
lib/gmaps4rails/rails/engine.rb,
lib/gmaps4rails/rails/railtie.rb,
lib/gmaps4rails/markers_builder.rb,
lib/generators/gmaps4rails/copy_js_generator.rb,
lib/generators/gmaps4rails/copy_coffee_generator.rb

Defined Under Namespace

Modules: Generators, Rails Classes: MarkersBuilder

Constant Summary collapse

VERSION =
"2.1.2"

Class Method Summary collapse

Class Method Details

.build_markers(collection, &block) ⇒ Object


13
14
15
# File 'lib/gmaps4rails.rb', line 13

def Gmaps4rails.build_markers(collection, &block)
  ::Gmaps4rails::MarkersBuilder.new(collection).call(&block)
end