class Donjon::Shell

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/donjon/shell.rb, line 9
def initialize
  shell = if $stdout.tty?
    Thor::Shell::Color.new
  else
    Thor::Shell::Basic.new
  end
  super(shell)
end