Sha256: aca13d1e24d1d97cddfb4c85e65d381a0ba2e4431b138eda9faa48ba9d6285b6
Contents?: true
Size: 385 Bytes
Versions: 8
Compression:
Stored size: 385 Bytes
Contents
module Aureus class Map < Renderable def initialize args init args, {} end def render if @options[:longitude] and @options[:latitude] content_tag("iframe","",:src => "https://maps.google.ch/maps?q="+@options[:latitude].to_s+","+@options[:longitude].to_s+"&ie=UTF8&z=15&output=embed", :width => @options[:width], :height => @options[:height]) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems