Class: Dato::ResponsiveImage

Inherits:
Node
  • Object
show all
Defined in:
app/components/dato/responsive_image.rb

Instance Attribute Summary

Attributes inherited from Node

#root

Instance Method Summary collapse

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