Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update if_ruby documents #496

Merged
merged 2 commits into from
Apr 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions doc/if_ruby.jax
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ Rubyインターフェイス *ruby* *Ruby*
3. Vim::Buffer オブジェクト |ruby-buffer|
4. Vim::Window オブジェクト |ruby-window|
5. グローバル変数 |ruby-globals|
6. 動的ローディング |ruby-dynamic|
6. rubyeval() Vim 関数 |ruby-rubyeval|
7. 動的ローディング |ruby-dynamic|

{Vi にはこれらのコマンドはない}
*E266* *E267* *E268* *E269* *E270* *E271* *E272* *E273*
Expand Down Expand Up @@ -194,7 +195,16 @@ $curwin 現在のウィンドウオブジェクト
$curbuf 現在のバッファオブジェクト

==============================================================================
6. 動的ローディング *ruby-dynamic*
6. rubyeval() Vim 関数 *ruby-rubyeval*

双方向インターフェイスを促進するため、|rubyeval()| 関数を使用して Ruby 式を評
価しそれらの値を Vim script に渡すことができる。

Ruby の値 "true", "false" および "nil" は、それぞれ v:true, v:false および
v:null に変換される。

==============================================================================
7. 動的ローディング *ruby-dynamic*

MS-WindowsとUnixではRubyライブラリを動的に読み込むことが可能である。これを行う
と|:version|の出力に|+ruby/dyn|が含まれるようになる。
Expand Down
14 changes: 12 additions & 2 deletions en/if_ruby.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ The Ruby Interface to Vim *ruby* *Ruby*
3. Vim::Buffer objects |ruby-buffer|
4. Vim::Window objects |ruby-window|
5. Global variables |ruby-globals|
6. Dynamic loading |ruby-dynamic|
6. rubyeval() Vim function |ruby-rubyeval|
7. Dynamic loading |ruby-dynamic|

{Vi does not have any of these commands}
*E266* *E267* *E268* *E269* *E270* *E271* *E272* *E273*
Expand Down Expand Up @@ -198,7 +199,16 @@ $curwin The current window object.
$curbuf The current buffer object.

==============================================================================
6. Dynamic loading *ruby-dynamic*
6. rubyeval() Vim function *ruby-rubyeval*

To facilitate bi-directional interface, you can use |rubyeval()| function to
evaluate Ruby expressions and pass their values to Vim script.

The Ruby value "true", "false" and "nil" are converted to v:true, v:false and
v:null, respectively.

==============================================================================
7. Dynamic loading *ruby-dynamic*

On MS-Windows and Unix the Ruby library can be loaded dynamically. The
|:version| output then includes |+ruby/dyn|.
Expand Down