Class: RatatuiRuby::Widgets::RatatuiMascot
- Inherits:
-
Object
- Object
- RatatuiRuby::Widgets::RatatuiMascot
- Includes:
- CoerceableWidget
- Defined in:
- lib/ratatui_ruby/widgets/ratatui_mascot.rb
Overview
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//app.rb
Instance Method Summary collapse
-
#initialize(block: nil) ⇒ RatatuiMascot
constructor
:method: new :call-seq: new(block: nil) -> RatatuiMascot.
Methods included from CoerceableWidget
Constructor Details
#initialize(block: nil) ⇒ RatatuiMascot
:method: new :call-seq: new(block: nil) -> RatatuiMascot
Creates a new RatatuiMascot.
35 36 37 |
# File 'lib/ratatui_ruby/widgets/ratatui_mascot.rb', line 35 def initialize(block: nil) super end |
