Method: Sym::App::CLI#output_proc

Defined in:
lib/sym/app/cli.rb

#output_proc(proc = nil) ⇒ Object



126
127
128
129
130
131
132
# File 'lib/sym/app/cli.rb', line 126

def output_proc(proc = nil)
  if self.application
    self.application.output = proc if proc
    return self.application.output
  end
  nil
end