class RatatuiRuby::Widgets::RatatuiMascot
Displays the Ratatui mascot.
Interfaces without personality feel clinical and dry. Users appreciate a friendly face in their terminal.
This widget renders the Ratatui mascot (a mouse).
Use it to add charm to your application, greet users on startup, or as a decorative element in sidebars.
Example
Run the interactive demo from the terminal:
ruby examples/widget_ratatui_mascot/app.rb
Public Class Methods
Source
# File lib/ratatui_ruby/widgets/ratatui_mascot.rb, line 35 def initialize(block: nil) super end
:method: new
Creates a new RatatuiMascot.
@param block [Block, nil] A block to wrap the widget in.
Calls superclass method
