diff options
| author | hukl <contact@smyck.org> | 2009-02-17 12:47:49 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-02-17 12:47:49 +0100 |
| commit | 3cdcb5ca02a94b2b342c30903a27d47d35d46e55 (patch) | |
| tree | ef3e1154fe262561b3955c07edcaee3824a21f47 /vendor/plugins/will_paginate/test/console | |
| parent | 7a282f2605f6fb3689940e5c7072b4801653deb2 (diff) | |
added will_paginate plugin
Diffstat (limited to 'vendor/plugins/will_paginate/test/console')
| -rwxr-xr-x | vendor/plugins/will_paginate/test/console | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/plugins/will_paginate/test/console b/vendor/plugins/will_paginate/test/console new file mode 100755 index 0000000..3f282f1 --- /dev/null +++ b/vendor/plugins/will_paginate/test/console | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | #!/usr/bin/env ruby | ||
| 2 | irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb' | ||
| 3 | libs = [] | ||
| 4 | |||
| 5 | libs << 'irb/completion' | ||
| 6 | libs << File.join('lib', 'load_fixtures') | ||
| 7 | |||
| 8 | exec "#{irb} -Ilib:test#{libs.map{ |l| " -r #{l}" }.join} --simple-prompt" | ||
