abstract class
   Athena::Console::Style::Output
   
  - Athena::Console::Style::Output
 - Reference
 - Object
 
Overview
Base implementation of ACON::Style::Interface and ACON::Output::Interface that provides logic common to all styles.
Included Modules
Direct Known Subclasses
Defined in:
style/output.crConstructors
Instance Method Summary
- 
        #create_progress_bar(max : Int32 | Nil = nil) : ACON::Helper::ProgressBar
        
          
Creates and returns an
ACON::Helper::ProgressBar, optionally with the provided max amount of steps. - #decorated=(decorated : Bool) : Nil
 - #decorated? : Bool
 - #formatter : ACON::Formatter::Interface
 - #formatter=(formatter : ACON::Formatter::Interface) : Nil
 - 
        #new_line(count : Int32 = 1) : Nil
        
          
Prints count empty new lines.
 - #print(message, verbosity : ACON::Output::Verbosity = :normal, output_type : ACON::Output::Type = :normal) : Nil
 - #puts(message, verbosity : ACON::Output::Verbosity = :normal, output_type : ACON::Output::Type = :normal) : Nil
 - #verbosity : ACON::Output::Verbosity
 - #verbosity=(verbosity : ACON::Output::Verbosity) : Nil
 
Instance methods inherited from module Athena::Console::Output::Interface
  
  
    
      decorated=(decorated : Bool) : Nil
    decorated=, 
    
  
    
      decorated? : Bool
    decorated?, 
    
  
    
      formatter : ACON::Formatter::Interface
    formatter, 
    
  
    
      formatter=(formatter : ACON::Formatter::Interface) : Nil
    formatter=, 
    
  
    
      print(message : String | Enumerable(String), verbosity : ACON::Output::Verbosity = :normal, output_type : ACON::Output::Type = :normal) : Nil
    print, 
    
  
    
      puts(message : String | Enumerable(String), verbosity : ACON::Output::Verbosity = :normal, output_type : ACON::Output::Type = :normal) : Nil
    puts, 
    
  
    
      verbosity : ACON::Output::Verbosity
    verbosity, 
    
  
    
      verbosity=(verbosity : ACON::Output::Verbosity) : Nil
    verbosity=
    
  
      
      
      
    
      
  Instance methods inherited from module Athena::Console::Style::Interface
  
  
    
      ask(question : String, default : _)
    ask, 
    
  
    
      ask_hidden(question : String)
    ask_hidden, 
    
  
    
      caution(messages : String | Enumerable(String)) : Nil
    caution, 
    
  
    
      choice(question : String, choices : Indexable | Hash, default = nil)
    choice, 
    
  
    
      comment(messages : String | Enumerable(String)) : Nil
    comment, 
    
  
    
      confirm(question : String, default : Bool = true) : Bool
    confirm, 
    
  
    
      error(messages : String | Enumerable(String)) : Nil
    error, 
    
  
    
      info(messages : String | Enumerable(String)) : Nil
    info, 
    
  
    
      listing(elements : Enumerable) : Nil
    listing, 
    
  
    
      new_line(count : Int32 = 1) : Nil
    new_line, 
    
  
    
      note(messages : String | Enumerable(String)) : Nil
    note, 
    
  
    
      progress_advance(by step : Int32 = 1) : Nil
    progress_advance, 
    
  
    
      progress_finish : Nil
    progress_finish, 
    
  
    
      progress_start(max : Int32 | Nil = nil) : Nil
    progress_start, 
    
  
    
      section(message : String) : Nil
    section, 
    
  
    
      success(messages : String | Enumerable(String)) : Nil
    success, 
    
  
    
      table(headers : Enumerable, rows : Enumerable) : Nil
    table, 
    
  
    
      text(messages : String | Enumerable(String)) : Nil
    text, 
    
  
    
      title(message : String) : Nil
    title, 
    
  
    
      warning(messages : String | Enumerable(String)) : Nil
    warning
    
  
      
      
      
    
      
      
      
      
    
      
      
      
      
    
  Constructor Detail
Instance Method Detail
Creates and returns an ACON::Helper::ProgressBar, optionally with the provided max amount of steps.
        
        def formatter=(formatter : ACON::Formatter::Interface) : Nil
        #
      
      
        
      
      
        
        def print(message, verbosity : ACON::Output::Verbosity = :normal, output_type : ACON::Output::Type = :normal) : Nil
        #
      
      
        
      
      
        
        def puts(message, verbosity : ACON::Output::Verbosity = :normal, output_type : ACON::Output::Type = :normal) : Nil
        #
      
      
        
      
      
        
        def verbosity=(verbosity : ACON::Output::Verbosity) : Nil
        #