Class: PhlexUI::Avatar::Builder
- Defined in:
- lib/phlex_ui/avatar/builder.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(size: :md, src: nil, alt: nil, initials: nil, **attrs) ⇒ Builder
constructor
A new instance of Builder.
- #view_template ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(size: :md, src: nil, alt: nil, initials: nil, **attrs) ⇒ Builder
Returns a new instance of Builder.
5 6 7 8 9 10 11 |
# File 'lib/phlex_ui/avatar/builder.rb', line 5 def initialize(size: :md, src: nil, alt: nil, initials: nil, **attrs) @size = size @src = src @alt = alt @initials = initials super(**attrs) end |