るりまサーチ

最速Rubyリファレンスマニュアル検索!
1690件ヒット [1-100件を表示] (0.175秒)

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. rsa n
  3. rsa n=
  4. openssl n
  5. openssl n=

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

Fiddle::Handle#sym(func) -> Integer (18208.0)

関数やグローバル変数 func へのポインタを取得し、整数として返します。

...unc へのポインタを取得し、整数として返します。

@param func 得たいシンボルの名前を文字列で与えます。

@raise Fiddle::DLError シンボルが見つからなかった時に発生します。

require 'fiddle'

h = Fiddle::Handle.new('libc.so.6')
p h.sym...
...('strlen') # 関数ポインタのアドレスを整数で表示...

Method#original_name -> Symbol (12301.0)

オリジナルのメソッド名を返します。

...オリジナルのメソッド名を返します。

//emlist[例][ruby]{
class C
def foo; end
alias bar foo
end
C.new.method(:bar).original_name # => :foo
//}

@see UnboundMethod#original_name...

RDoc::Context#find_local_symbol(symbol) (12301.0)

Finds a method, constant, attribute, module or files named +symbol+ in this context

...Finds a method, constant, attribute, module or files named +symbol+ in
this context...

RDoc::Context#find_symbol(symbol, method=nil) (12301.0)

Look up the given symbol. If method is non-nil, then we assume the symbol references a module that contains that method

...Look up the given symbol. If method is non-nil, then we assume
the symbol references a module that contains that method...

File::Stat#symlink? -> false (12201.0)

シンボリックリンクである時に真を返します。 ただし、File::Statは自動的にシンボリックリンクをたどっていくので 常にfalseを返します。

...たどっていくので
常にfalseを返します。

//emlist[][ruby]{
require 'fileutils'
outfile = $0 + ".ln"
FileUtils.ln_s($0, outfile)
p File::Stat.new(outfile).symlink? #=> false
p File.lstat(outfile).symlink? #=> true
p FileTest.symlink?(outfile) #=> true
//}

@see File.lstat...

絞り込み条件を変える

Gem::Installer#generate_bin_symlink(filename, bindir) (12201.0)

Gem に入っているアプリケーションを実行するためのシンボリックリンクを作成します。

...現在インストールされている Gem よりも新しい Gem をインストールするときは、
シンボリックリンクを更新します。

@param filename ファイル名を指定します。

@param bindir 実行ファイルを配置するディレクトリを指定します。...

Matrix#antisymmetric? -> bool (12201.0)

行列が反対称行列 (交代行列、歪〔わい〕対称行列とも) ならば true を返します。

...onForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します

//emlist[][ruby]{
require 'matrix'

Matrix[[0, -2, Complex(1, 3)], [2, 0, 5], [-Complex(1, 3), -5, 0]].antisymmetric? # => true
Matrix.empty.antisymmetric? # => true

Matrix[[1, 2, 3], [4, 5, 6], [7, 8, 9]].ant...
...isymmetric? # => false
# 対角要素が違う
Matrix[[1, -2, 3], [2, 0, 6], [-3, -6, 0]].antisymmetric? # => false
# 符号が違う
Matrix[[0, 2, -3], [2, 0, 6], [-3, 6, 0]].antisymmetric? # => false
//}...

Pathname#make_symlink(old) -> 0 (12201.0)

File.symlink(old, self.to_s) と同じです。

...File.symlink(old, self.to_s) と同じです。


@see File.symlink...

Pathname#symlink? -> bool (12201.0)

FileTest.symlink?(self.to_s) と同じです。

...FileTest.symlink?(self.to_s) と同じです。


@see FileTest.#symlink?...
<< 1 2 3 ... > >>