Class: Imgix::Rails::Tag
- Inherits:
-
Object
- Object
- Imgix::Rails::Tag
- Includes:
- ActionView::Helpers, UrlHelper
- Defined in:
- lib/imgix/rails/tag.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(path, source: nil, tag_options: {}, url_params: {}, srcset_options: {}, attribute_options: {}) ⇒ Tag
constructor
A new instance of Tag.
Methods included from UrlHelper
Constructor Details
#initialize(path, source: nil, tag_options: {}, url_params: {}, srcset_options: {}, attribute_options: {}) ⇒ Tag
Returns a new instance of Tag.
8 9 10 11 12 13 14 15 |
# File 'lib/imgix/rails/tag.rb', line 8 def initialize(path, source: nil, tag_options: {}, url_params: {}, srcset_options: {}, attribute_options: {}) @path = path @source = source @tag_options = @url_params = url_params @srcset_options = @attribute_options = end |