Sha256: bc6787542a74ad468fb5b093f6543ff2aabb1ec3d9163ca4eafd9e9c4bca4466
Contents?: true
Size: 346 Bytes
Versions: 5
Compression:
Stored size: 346 Bytes
Contents
module Aureus module Components class SimpleMap < Renderable def initialize args init args, { height: 300, zoom: 13 } end def render if @options[:longitude] and @options[:latitude] content_tag('div',nil, class: 'aureus-simple-map', data: @options ) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems