るりまサーチ

最速Rubyリファレンスマニュアル検索!
763件ヒット [201-300件を表示] (0.115秒)

別のキーワード

  1. openssl p
  2. openssl p=
  3. fileutils mkdir_p
  4. dsa p
  5. dsa p=

モジュール

検索結果

<< < 1 2 3 4 5 ... > >>

Gem::SourceIndex#remove_spec(full_name) -> Gem::Specification (9201.0)

引数で指定された名前を持つ Gem をインデックスから削除します。

引数で指定された名前を持つ Gem をインデックスから削除します。

Gem::SourceIndex#specification(full_name) -> Gem::Specification | nil (9201.0)

指定された名前の Gem::Specification オブジェクトを返します。

...指定された名前の Gem::Specification オブジェクトを返します。

@param full_name Gem のフルネームを指定します。...

Proc#source_location -> [String, Integer] | nil (9138.0)

ソースコードのファイル名と行番号を配列で返します。

...ruby]{
# /path/to/target.rb を実行
p
roc {}.source_location # => ["/path/to/target.rb", 1]
p
roc {}.source_location # => ["/path/to/target.rb", 2]
(eval "proc {}").source_location # => ["(eval)", 1]
method(:p).to_proc.source_location # => nil
//}

@see Method#source_location...

RDoc::Options#inline_source -> bool (9118.0)

コマンドライン引数の --inline-source オプションか --one-file を指定して いた場合、もしくは --fmt オプションに xml 指定した場合に true を返しま す。そうでない場合は false を返します。

...コマンドライン引数の --inline-source オプションか --one-file を指定して
いた場合、もしくは --fmt オプションに xml 指定した場合に true を返しま
す。そうでない場合は false を返します。...

JSON::Parser#parse -> object (9107.0)

現在のソースをパースして結果を Ruby のオブジェクトとして返します。

...by]{
require 'json'

class Person
attr_accessor :name, :age

def []=(key, value)
instance_variable_set("@#{key}", value)
end
end

p
arser = JSON::Parser.new(DATA.read, object_class: Person)
p
erson = parser.parse
p
erson.class # => Person
p
erson.name # => "tanaka"
p
erson.age # => 20

__END...
...__
{
"name":"tanaka",
"age":20
}
//}

@see JSON::Parser#source...

絞り込み条件を変える

Gem::SourceIndex#dump -> () (9101.0)

自身を Marshal.#dump します。

...自身を Marshal.#dump します。...

Gem::SourceIndex#latest_specs -> Array (9101.0)

自身に含まれる最新の Gem::Specification のリストを返します。

...自身に含まれる最新の Gem::Specification のリストを返します。...

Gem::SourceIndex#spec_dirs -> [String] (9101.0)

Gem::SourceIndex#refresh! で自身を更新する時に使用するディレクトリを取得します。

...Gem::SourceIndex#refresh! で自身を更新する時に使用するディレクトリを取得します。...

Gem::SourceIndex#spec_dirs=(dirs) (9101.0)

Gem::SourceIndex#refresh! で自身を更新する時に使用するディレクトリを設定します。

...Gem::SourceIndex#refresh! で自身を更新する時に使用するディレクトリを設定します。...
<< < 1 2 3 4 5 ... > >>