Method: Mill::Resource::Image#img_html
- Defined in:
- lib/mill/resources/image.rb
#img_html ⇒ Object
34 35 36 37 38 39 40 41 42 |
# File 'lib/mill/resources/image.rb', line 34 def img_html html_fragment do |html| html.img( src: uri, alt: @title, height: @height, width: @width) end end |