Sha256: 2067575743b84ec7fc6a86123fb18a86a7276f7db17781e8217acd66c7a13943

Contents?: true

Size: 1.11 KB

Versions: 8

Compression:

Stored size: 1.11 KB

Contents

if RUBY_VERSION < '2.0' || defined?(JRUBY_VERSION)
  require 'ruby-debug-base'
else
  require 'debase'
end

require 'ruby-debug-ide/version'
require 'ruby-debug-ide/ide_processor'

module Debugger

  class << self
    def print_greeting_msg(stream, host, port, debugger_name = "Fast")
      base_gem_name = if defined?(JRUBY_VERSION) || RUBY_VERSION < '1.9.0'
                        'ruby-debug-base'
                      elsif RUBY_VERSION < '2.0.0'
                        'ruby-debug-base19x'
                      else
                        'debase'
                      end

      file_filtering_support = if Command.file_filter_supported?
                                 'supported'
                               else
                                 'not supported'
                               end

      if host && port
        listens_on = " listens on #{host}:#{port}\n"
      else
        listens_on = "\n"
      end

      msg = "#{debugger_name} Debugger (ruby-debug-ide #{IDE_VERSION}, #{base_gem_name} #{VERSION}, file filtering is #{file_filtering_support})" + listens_on

      stream.printf msg
    end
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ruby-debug-ide-0.7.1.beta2 lib/ruby-debug-ide/greeter.rb
ruby-debug-ide-0.7.1.beta1 lib/ruby-debug-ide/greeter.rb
ruby-debug-ide-0.7.0 lib/ruby-debug-ide/greeter.rb
ruby-debug-ide-0.7.0.beta7 lib/ruby-debug-ide/greeter.rb
ruby-debug-ide-0.7.0.beta6 lib/ruby-debug-ide/greeter.rb
ruby-debug-ide-0.7.0.beta4 lib/ruby-debug-ide/greeter.rb
ruby-debug-ide-0.7.0.beta3 lib/ruby-debug-ide/greeter.rb
ruby-debug-ide-0.7.0.beta2 lib/ruby-debug-ide/greeter.rb