Method: Prose::Component#initialize
- Defined in:
- app/components/lookbook/prose/component.rb
#initialize(size: :sm, markdown: true, **html_attrs) ⇒ Component
Returns a new instance of Component.
3 4 5 6 7 |
# File 'app/components/lookbook/prose/component.rb', line 3 def initialize(size: :sm, markdown: true, **html_attrs) @size = size @markdown = markdown super(**html_attrs) end |