Class: Gotenberg::Analyzers::Image

Inherits:
Base
  • Object
show all
Defined in:
lib/gotenberg/analyzers/image.rb

Constant Summary

Constants inherited from Base

Base::URI_REGEXP

Instance Attribute Summary

Attributes inherited from Base

#resource

Instance Method Summary collapse

Methods inherited from Base

#assets, #call, #initialize

Constructor Details

This class inherits a constructor from Gotenberg::Analyzers::Base

Instance Method Details

#tagObject



7
8
9
# File 'lib/gotenberg/analyzers/image.rb', line 7

def tag
  '<img src="%s" alt="%s" />' % [src_value, filename]
end