Sha256: 62d76c9f4f9f3584c957a44558455bde369156ed1f3b7be7cf4e031d1eefdba6
Contents?: true
Size: 325 Bytes
Versions: 3
Compression:
Stored size: 325 Bytes
Contents
# frozen_string_literal: true generator = Genesis.generator generator.build_render_method(:html_width) do |value| @html_object.style[:width] = "#{value}px" unless @html_type == :style end generator.build_render_method(:html_height) do |value| @html_object.style[:height] = "#{value}px" unless @html_type == :style end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
atome-0.5.1.9 | lib/atome/renderers/html/geometry.rb |
atome-0.5.1.4 | lib/atome/renderers/html/geometry.rb |
atome-0.5.1.1 | lib/atome/renderers/html/geometry.rb |