Class: Dato::ResponsiveImage
- Defined in:
- app/components/dato/responsive_image.rb
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(node, root = nil, custom_css_classes: []) ⇒ ResponsiveImage
constructor
A new instance of ResponsiveImage.
Methods inherited from Node
#blocks, #debug_node, #overrides, #render_node
Constructor Details
#initialize(node, root = nil, custom_css_classes: []) ⇒ ResponsiveImage
Returns a new instance of ResponsiveImage.
4 5 6 7 |
# File 'app/components/dato/responsive_image.rb', line 4 def initialize(node, root = nil, custom_css_classes: []) super(node, root) @custom_css_classes = custom_css_classes end |