Permalink
Browse files

Remove attach, watir-console and watir-rdoc files.

  • Loading branch information...
jarmo committed Jul 28, 2012
1 parent 3080af9 commit 03af8e9e9b67e2085d1edc5304d63c7d93eab8fc
Showing with 0 additions and 31 deletions.
  1. +0 −19 watir-classic/attach.rb
  2. +0 −5 watir-classic/bin/watir-console
  3. +0 −7 watir-classic/watir-rdoc.rb
View
@@ -1,19 +0,0 @@
-require 'irb/completion'
-ARGV.concat [ "--readline", "--prompt-mode", "simple" ]
-RUBY_PLATFORM =~ /mswin/ ? history_file = '\.irb_history' : history_file ='~/.irb_history'
-IRB.conf[:EVAL_HISTORY] = 1000
-IRB.conf[:SAVE_HISTORY] = 1000
-IRB.conf[:HISTORY_FILE] = File::expand_path(history_file)
-
-$LOAD_PATH.unshift File.join(File.dirname(__FILE__), 'lib')
-
-title = ENV['window_title'] || '.'
-require 'watir-classic/ie'
-@ie = Watir::IE.attach :title, /#{title}/
-puts "Attached to: #{@ie.title}"
-puts "Your browser instance is: ie, browser"
-
-def ie
- @ie
-end
-alias :browser :ie
@@ -1,5 +0,0 @@
-#!/usr/bin/env ruby
-$root = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
-$watir_lib = File.join($root, 'watir-classic', 'lib')
-$libs = "-I #{$watir_lib}"
-exec "irb.bat #{$libs} -r rubygems -r irb/completion -r watir-classic/irb-history -r watir --simple-prompt --readline"
@@ -1,7 +0,0 @@
-$WATIR_RDOC_OPTIONS = [] <<
- '--title' << 'Watir API Reference' <<
- '--accessor' << 'def_wrap=R,def_wrap_guard=R' <<
- '--main' << 'README.rdoc' <<
- '--exclude' << 'unittests|camel_case.rb'
-$WATIR_EXTRA_RDOC_FILES = ['README.rdoc']
-

0 comments on commit 03af8e9

Please sign in to comment.