diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-02-28 13:11:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-02-28 13:11:45 +0100 |
commit | 2b8388bd0175835eb751e6c58cd0b0b69465f0d9 (patch) | |
tree | b7892d80060965dfc435285655b8f104c51c2fc0 /runtime/doc/if_ruby.txt | |
parent | bac203ea2d0e3b2a5e4eae4dbe48244e592926e2 (diff) | |
download | vim-2b8388bd0175835eb751e6c58cd0b0b69465f0d9.zip |
Updated runtime files.
Diffstat (limited to 'runtime/doc/if_ruby.txt')
-rw-r--r-- | runtime/doc/if_ruby.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/runtime/doc/if_ruby.txt b/runtime/doc/if_ruby.txt index 0a32d8785..4084181f9 100644 --- a/runtime/doc/if_ruby.txt +++ b/runtime/doc/if_ruby.txt @@ -1,4 +1,4 @@ -*if_ruby.txt* For Vim version 7.4. Last change: 2012 Aug 02 +*if_ruby.txt* For Vim version 7.4. Last change: 2015 Feb 22 VIM REFERENCE MANUAL by Shugo Maeda @@ -120,9 +120,13 @@ VIM::command({cmd}) *ruby-evaluate* VIM::evaluate({expr}) Evaluates {expr} using the vim internal expression evaluator (see - |expression|). Returns the expression result as a string. - A |List| is turned into a string by joining the items and inserting - line breaks. + |expression|). Returns the expression result as: + - a Integer if the Vim expression evaluates to a number + - a Float if the Vim expression evaluates to a float + - a String if the Vim expression evaluates to a string + - a Array if the Vim expression evaluates to a Vim list + - a Hash if the Vim expression evaluates to a Vim dictionary + Dictionaries and lists are recursively expanded. ============================================================================== 3. VIM::Buffer objects *ruby-buffer* |