summaryrefslogtreecommitdiffstats
path: root/runtime/doc/if_ruby.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-10-27 18:34:44 +0200
committerBram Moolenaar <Bram@vim.org>2010-10-27 18:34:44 +0200
commit0536570fa284421b9932ed61d79bef3d8beace2a (patch)
tree651239ea092efc7bc186cf4cb7a704ecd7b4d0c3 /runtime/doc/if_ruby.txt
parent2d73ff4500d695ebc967c60b31c67f63fada794c (diff)
Updated runtile files.
Diffstat (limited to 'runtime/doc/if_ruby.txt')
-rw-r--r--runtime/doc/if_ruby.txt15
1 files changed, 9 insertions, 6 deletions
diff --git a/runtime/doc/if_ruby.txt b/runtime/doc/if_ruby.txt
index 161911a41c..bac0bb6aa7 100644
--- a/runtime/doc/if_ruby.txt
+++ b/runtime/doc/if_ruby.txt
@@ -1,4 +1,4 @@
-*if_ruby.txt* For Vim version 7.3. Last change: 2010 Jul 20
+*if_ruby.txt* For Vim version 7.3. Last change: 2010 Oct 27
VIM REFERENCE MANUAL by Shugo Maeda
@@ -40,6 +40,9 @@ downloading Ruby there.
wasn't compiled in. To avoid errors, see
|script-here|.
+Command to try it out: >
+ :ruby print "Hello" # this is a comment
+
Example Vim script: >
function! RedGem()
@@ -187,12 +190,12 @@ $curbuf The current buffer object.
==============================================================================
6. Dynamic loading *ruby-dynamic*
-On MS-Windows the Ruby library can be loaded dynamically. The |:version|
-output then includes |+ruby/dyn|.
+On MS-Windows and Unix the Ruby library can be loaded dynamically. The
+|:version| output then includes |+ruby/dyn|.
-This means that Vim will search for the Ruby DLL file only when needed. When
-you don't use the Ruby interface you don't need it, thus you can use Vim
-without this DLL file.
+This means that Vim will search for the Ruby DLL file or shared library only
+when needed. When you don't use the Ruby interface you don't need it, thus
+you can use Vim even though this library file is not on your system.
You need to install the right version of Ruby for this to work. You can find
the package to download from: