ライブラリ
- ビルトイン (30)
- etc (24)
-
irb
/ cmd / chws (12) - observer (24)
- openssl (12)
-
rdoc
/ context (12) -
rdoc
/ parser / changelog (12) - resolv (12)
- un (12)
クラス
-
Encoding
:: Converter (12) -
Etc
:: Passwd (24) -
IRB
:: ExtendCommand :: ChangeWorkspace (12) - Module (12)
-
OpenSSL
:: SSL :: SSLContext (12) - Proc (6)
-
RDoc
:: Context (12) -
RDoc
:: Parser :: ChangeLog (12) -
Resolv
:: DNS :: Resource :: MX (12)
モジュール
- Kernel (12)
- Observable (24)
キーワード
- change= (12)
- changed (12)
- changed? (12)
- chmod (12)
- exchange (12)
- execute (12)
-
insert
_ output (12) -
ongoing
_ visibility= (12) -
ruby2
_ keywords (18) - scan (12)
検索結果
先頭5件
-
Encoding
:: Converter # insert _ output(string) -> nil (7.0) -
変換器内のバッファに文字列を挿入します。 バッファに保持された文字列は、次の変換時の変換結果と一緒に返されます。
...ts "[#{dst.dump}, #{src.dump}]" #=> ["\e$B$O$!$H".force_encoding("ISO-2022-JP"), "\xE3\ x80\x82"]
ec.insert_output "?" # state change required to output "?".
p ec.primitive_convert(src, dst) #=> :finished
puts "[#{dst.dump}, #{src.dump}]" #=> ["\e$B$O$!$H\e(B?\e$B!#\e(B".fo... -
Kernel
# chmod -> () (7.0) -
ファイルのアクセス権を変更します。
...ファイルのアクセス権を変更します。
Change the mode of each FILE to OCTAL-MODE.
ruby -run -e chmod -- [OPTION] OCTAL-MODE FILE
-v 詳細表示
@see chmod(1)... -
Module
# ruby2 _ keywords(method _ name , . . . ) -> nil (7.0) -
For the given method names, marks the method as passing keywords through a normal argument splat. This should only be called on methods that accept an argument splat (`*args`) but not explicit keywords or a keyword splat. It marks the method such that if the method is called with keyword arguments, the final hash argument is marked with a special flag such that if it is the final element of a normal argument splat to another method call, and that method call does not include explicit keywords or a keyword splat, the final element is interpreted as keywords. In other words, keywords will be passed through the method to other methods.
....7, check that the module responds to this method before calling
it. Also, be aware that if this method is removed, the behavior of the
method will change so that it does not pass through keywords.
//emlist[例][ruby]{
module Mod
def foo(meth, *args, &block)
send(:"do_#{meth}", *args, &block)... -
OpenSSL
:: SSL :: SSLContext # options=(options) (7.0) -
オプションを設定します。
...::OP_CIPHER_SERVER_PREFERENCE
* OpenSSL::SSL::OP_EPHEMERAL_RSA
* OpenSSL::SSL::OP_NETSCAPE_CA_DN_BUG
* OpenSSL::SSL::OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG
* OpenSSL::SSL::OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION
* OpenSSL::SSL::OP_NO_SSLv2
* OpenSSL::SSL::OP_NO_SSLv3
* OpenSSL::SSL::OP_N... -
Proc
# ruby2 _ keywords -> proc (7.0) -
Marks the proc as passing keywords through a normal argument splat. This should only be called on procs that accept an argument splat (`*args`) but not explicit keywords or a keyword splat. It marks the proc such that if the proc is called with keyword arguments, the final hash argument is marked with a special flag such that if it is the final element of a normal argument splat to another method call, and that method call does not include explicit keywords or a keyword splat, the final element is interpreted as keywords. In other words, keywords will be passed through the proc to other methods.
...re 2.7, check that the proc responds to this method before calling
it. Also, be aware that if this method is removed, the behavior of the
proc will change so that it does not pass through keywords.
//emlist[][ruby]{
module Mod
foo = ->(meth, *args, &block) do
send(:"do_#{meth}", *args, &block...