Module: Voom::Presenters::DSL::Components::Mixins::GoogleMaps

Defined in:
lib/voom/presenters/dsl/components/mixins/google_maps.rb

Instance Method Summary collapse

Instance Method Details

#google_map(**attributes, &block) ⇒ Object



7
8
9
# File 'lib/voom/presenters/dsl/components/mixins/google_maps.rb', line 7

def google_map(**attributes, &block)
  self << Components::GoogleMap.new(parent: self, **attributes, &block)
end