Method: RubyUI::DialogContent#initialize
- Defined in:
- lib/ruby_ui/dialog/dialog_content.rb
#initialize(size: :md, **attrs) ⇒ DialogContent
Returns a new instance of DialogContent.
14 15 16 17 |
# File 'lib/ruby_ui/dialog/dialog_content.rb', line 14 def initialize(size: :md, **attrs) @size = size super(**attrs) end |