Module: RubyRich
- Defined in:
 - lib/ruby_rich.rb,
lib/ruby_rich/live.rb,
lib/ruby_rich/text.rb,
lib/ruby_rich/panel.rb,
lib/ruby_rich/print.rb,
lib/ruby_rich/table.rb,
lib/ruby_rich/dialog.rb,
lib/ruby_rich/layout.rb,
lib/ruby_rich/console.rb,
lib/ruby_rich/version.rb,
lib/ruby_rich/ansi_code.rb,
lib/ruby_rich/progress_bar.rb 
Overview
定义主模块
Defined Under Namespace
Classes: AnsiCode, CacheRender, Console, Dialog, Error, Layout, Live, Panel, ProgressBar, RichPrint, RichText, Table
Constant Summary collapse
- VERSION =
 "0.3.0"
Class Method Summary collapse
- 
  
    
      .console  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
提供一个便捷方法来创建控制台实例.
 - 
  
    
      .table  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
提供一个便捷方法来创建表格.
 - 
  
    
      .text(content = '')  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
提供一个便捷方法来创建富文本.
 
Instance Method Summary collapse
Class Method Details
.console ⇒ Object
提供一个便捷方法来创建控制台实例
      27 28 29  | 
    
      # File 'lib/ruby_rich.rb', line 27 def self.console @console ||= Console.new end  | 
  
Instance Method Details
#print(*args) ⇒ Object
      57 58 59  | 
    
      # File 'lib/ruby_rich/print.rb', line 57 def print(*args) $rich_print.print(*args) end  |