Class: AutoHtml::Image
- Inherits:
-
Object
- Object
- AutoHtml::Image
- Defined in:
- lib/auto_html/image.rb
Overview
Image filter
Instance Method Summary collapse
- #call(text) ⇒ Object
-
#initialize(proxy: nil, alt: nil) ⇒ Image
constructor
A new instance of Image.
Constructor Details
#initialize(proxy: nil, alt: nil) ⇒ Image
Returns a new instance of Image.
6 7 8 9 |
# File 'lib/auto_html/image.rb', line 6 def initialize(proxy: nil, alt: nil) @proxy = proxy || '' @alt = alt end |