class Thor::Command

def sans_backtrace(backtrace, caller) #:nodoc:

:nodoc:
def sans_backtrace(backtrace, caller) #:nodoc:
  saned = backtrace.reject { |frame| frame =~ FILE_REGEXP || (frame =~ /\.java:/ && RUBY_PLATFORM =~ /java/) }
  saned - caller
end