るりまサーチ

最速Rubyリファレンスマニュアル検索!
569件ヒット [1-100件を表示] (0.161秒)
トップページ > クエリ:i[x] > クエリ:l[x] > クエリ:d[x] > クエリ:from[x]

別のキーワード

  1. kernel $-l
  2. matrix l
  3. _builtin $-l
  4. lupdecomposition l
  5. l matrix

モジュール

検索結果

<< 1 2 3 ... > >>

Gem::DependencyList.from_source_index(src_index) -> Gem::DependencyList (27801.0)

与えられた Gem::SourceIndex のインスタンスから自身を作成します。

...与えられた Gem::SourceIndex のインスタンスから自身を作成します。

@param src_index Gem::SourceIndex を指定します。

@see Gem::SourceIndex...

RubyVM::InstructionSequence.load_from_binary(binary) -> RubyVM::InstructionSequence (27607.0)

RubyVM::InstructionSequence#to_binaryにより作られたバイナリフォーマットの文字列からiseqのオブジェクトをロードします。

...RubyVM::InstructionSequence#to_binaryにより作られたバイナリフォーマットの文字列からiseqのオブジェクトをロードします。

このローダーは検証機構をもっておらず、壊れたり改変されたバイナリを読み込むと深刻な問題を引き起...
...りません。自分が変換したバイナリデータを使うべきです。

//emlist[例][ruby]{
i
seq = RubyVM::InstructionSequence.compile('num = 1 + 2')
binary = iseq.to_binary
RubyVM::InstructionSequence.load_from_binary(binary).eval # => 3
//}

@see RubyVM::InstructionSequence#to_binary...

RubyVM::InstructionSequence.load_from_binary_extra_data(binary) -> String (27607.0)

バイナリフォーマットの文字列から埋め込まれたextra_dataを取り出します。

...埋め込まれたextra_dataを取り出します。

//emlist[例][ruby]{
i
seq = RubyVM::InstructionSequence.compile('num = 1 + 2')
binary = iseq.to_binary("extra_data")
RubyVM::InstructionSequence.load_from_binary_extra_data(binary) # => extra_data
//}

@see RubyVM::InstructionSequence#to_binary...

Gem::SourceIndex.from_installed_gems(*deprecated) -> Gem::SourceIndex (27507.0)

与えられたパスをもとに、インスタンスを作成するファクトリメソッドです。

...与えられたパスをもとに、インスタンスを作成するファクトリメソッドです。

@param deprecated この引数は非推奨です。後方互換性のためにのみ提供されているので使用すべきではありません。

@see Gem::SourceIndex.from_gems_in...

irb (26150.0)

irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。

...irb は Interactive Ruby の略です。
i
rb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。

=== irb の使い方

Ruby さえ知っていれば irb を使うのは簡単です。
i
rb コマンドを実行すると、以下のようなプロン...
...$ irb
i
rb(main):001:0>

あとは Ruby の式を入力するだけで、その式が実行され、結果が表示されます。

i
rb(main):001:0> 1+2
3
i
rb(main):002:0> class Foo
i
rb(main):003:1> def foo
i
rb(main):004:2> print 1
i
rb(main):005:2> end
i
rb(main):006:1> end...
...
=> "OK"
i
rb(main):005:0> x # x を表示
=> "OK"
i
rb(main):006:0> irb # サブ irb を起動
i
rb#1(main):001:0> x # x を表示
NameError: undefined local variable or method `x' for main:Object
from
(irb#1):1:in `Kernel#binding'

起動...

絞り込み条件を変える

Net::IMAP::Envelope#from -> [Net::IMAP::Address] | nil (24417.0)

From を Net::IMAP::Address オブジェクトの配列で返します。

...From を Net::IMAP::Address オブジェクトの配列で返します。

エンベロープに存在しないときは nil を返します。...

Rake::FileList#excluded_from_list?(file_name) -> bool (24413.0)

与えられたファイル名が除外される場合は、真を返します。 そうでない場合は偽を返します。

...ile_name ファイル名を指定します。

//emlist[][ruby]{
# Rakefile での記載例とする

I
O.write("test1.rb", "test")
I
O.write("test2.rb", "test")

task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb")
file_list.exclude("test1.rb")
fi...
...le_list.excluded_from_list?("test1.rb") # => true
file_list.excluded_from_list?("test2.rb") # => false
end
//}...

Gem::OldFormat.from_file_by_path(file_path) -> Gem::OldFormat (21601.0)

Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。

...Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。

@param file_path Gem ファイルへのパスを指定します。...

Gem::Specification#loaded_from -> String (21401.0)

この Gem パッケージの gemspec がある場所を返します。

この Gem パッケージの gemspec がある場所を返します。

この属性は永続化されません。

Gem::Specification#loaded_from=(path) (21301.0)

この Gem パッケージの gemspec がある場所をセットします。

この Gem パッケージの gemspec がある場所をセットします。

@param path この Gem パッケージの gemspec がある場所を指定します。

絞り込み条件を変える

<< 1 2 3 ... > >>