るりまサーチ

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

別のキーワード

  1. fiddle sym
  2. handle sym
  3. _builtin to_sym
  4. string to_sym
  5. symbol to_sym

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

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

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

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

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

require 'fiddle'

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

RDoc::Context#find_local_symbol(symbol) (6201.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) (6201.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...

Symbol#to_sym -> self (6102.0)

self を返します。

self を返します。

例:

:foo.intern # => :foo

@see String#intern

Fiddle::Importer#import_symbol(name) -> Fiddle::Pointer (6101.0)

取り込んだライブラリからシンボルをインポートします。

取り込んだライブラリからシンボルをインポートします。

返り値はシンボルがロードされたメモリのアドレスを持つ Fiddle::Pointer
オブジェクトを返します。

@param name シンボル名(文字列)

絞り込み条件を変える

File::Stat#symlink? -> false (6101.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) (6101.0)

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

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

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

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

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

Matrix#antisymmetric? -> bool (6101.0)

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

...]].antisymmetric? # => true
Matrix.empty.antisymmetric? # => true

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

Matrix#skew_symmetric? -> bool (6101.0)

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

...]].antisymmetric? # => true
Matrix.empty.antisymmetric? # => true

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

Matrix#symmetric? -> bool (6101.0)

行列が対称ならば true を返します。

行列が対称ならば true を返します。

@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します

絞り込み条件を変える

<< 1 2 3 ... > >>